|
|
|
@ -355,7 +355,7 @@ Get_Versions(){
|
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
Install_Python_Lib(){ |
|
|
|
|
curl -Ss --connect-timeout 3 -m 60 https://raw.githubusercontent.com/zhucaidan/btpanel-v7.7.0/main/install/pip_select.sh|bash |
|
|
|
|
curl -Ss --connect-timeout 3 -m 60 https://git.xinac.net/github/btpanel-v7.7.0/raw/branch/main/install/pip_select.sh|bash |
|
|
|
|
pyenv_path="/www/server/panel" |
|
|
|
|
if [ -f $pyenv_path/pyenv/bin/python ];then |
|
|
|
|
is_ssl=$($python_bin -c "import ssl" 2>&1|grep cannot) |
|
|
|
@ -488,9 +488,9 @@ Install_Bt(){
|
|
|
|
|
sleep 1 |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
wget -O /etc/init.d/bt https://raw.githubusercontent.com/zhucaidan/btpanel-v7.7.0/main/install/src/bt6.init -T 10 |
|
|
|
|
wget -O /www/server/panel/install/public.sh https://raw.githubusercontent.com/zhucaidan/btpanel-v7.7.0/main/install/public.sh -T 10 |
|
|
|
|
wget -O panel.zip https://raw.githubusercontent.com/zhucaidan/btpanel-v7.7.0/main/install/src/panel6.zip -T 10 |
|
|
|
|
wget -O /etc/init.d/bt https://git.xinac.net/github/btpanel-v7.7.0/raw/branch/main/install/src/bt6.init -T 10 |
|
|
|
|
wget -O /www/server/panel/install/public.sh https://git.xinac.net/github/btpanel-v7.7.0/raw/branch/main/install/public.sh -T 10 |
|
|
|
|
wget -O panel.zip https://git.xinac.net/github/btpanel-v7.7.0/raw/branch/main/install/src/panel6.zip -T 10 |
|
|
|
|
|
|
|
|
|
if [ -f "${setup_path}/server/panel/data/default.db" ];then |
|
|
|
|
if [ -d "/${setup_path}/server/panel/old_data" ];then |
|
|
|
@ -540,8 +540,8 @@ Install_Bt(){
|
|
|
|
|
chmod -R +x ${setup_path}/server/panel/script |
|
|
|
|
ln -sf /etc/init.d/bt /usr/bin/bt |
|
|
|
|
echo "${panelPort}" > ${setup_path}/server/panel/data/port.pl |
|
|
|
|
wget -O /etc/init.d/bt https://raw.githubusercontent.com/zhucaidan/btpanel-v7.7.0/main/install/src/bt7.init -T 10 |
|
|
|
|
wget -O /www/server/panel/init.sh https://raw.githubusercontent.com/zhucaidan/btpanel-v7.7.0/main/install/src/bt7.init -T 10 |
|
|
|
|
wget -O /etc/init.d/bt https://git.xinac.net/github/btpanel-v7.7.0/raw/branch/main/install/src/bt7.init -T 10 |
|
|
|
|
wget -O /www/server/panel/init.sh https://git.xinac.net/github/btpanel-v7.7.0/raw/branch/main/install/src/bt7.init -T 10 |
|
|
|
|
wget -O /www/server/panel/data/softList.conf ${download_Url}/install/conf/softList.conf |
|
|
|
|
} |
|
|
|
|
Set_Bt_Panel(){ |
|
|
|
|