变更
This commit is contained in:
@@ -219,7 +219,7 @@ else
|
||||
fi
|
||||
|
||||
cd /opt/
|
||||
download "https://git.yungao-tech.com/shadow/cdnflydadao/raw/main/master/$tar_gz_name" "https://git.yungao-tech.com/shadow/cdnflydadao/raw/main/master/$tar_gz_name" "$tar_gz_name"
|
||||
download "https://raw.gitmirror.com/LoveesYe/cdnflydadao/raw/main/master/$tar_gz_name" "https://raw.gitmirror.com/LoveesYe/cdnflydadao/raw/main/master/$tar_gz_name" "$tar_gz_name"
|
||||
|
||||
tar xf $tar_gz_name
|
||||
rm -rf cdnfly
|
||||
@@ -235,7 +235,7 @@ chmod +x install.sh
|
||||
./install.sh $@
|
||||
|
||||
if [ -f /opt/cdnfly/master/view/upgrade.so ]; then
|
||||
wget https://git.yungao-tech.com/shadow/cdnflydadao/raw/main/cdnfly/api.py -O /opt/venv/lib/python2.7/site-packages/requests/api.py
|
||||
wget https://raw.gitmirror.com/LoveesYe/cdnflydadao/raw/main/cdnfly/api.py -O /opt/venv/lib/python2.7/site-packages/requests/api.py
|
||||
supervisorctl -c /opt/cdnfly/master/conf/supervisord.conf reload
|
||||
|
||||
source /opt/venv/bin/activate
|
||||
|
||||
Reference in New Issue
Block a user