File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -1082,9 +1082,11 @@ if [[ $DEV == "ON" ]] ; then
1082
1082
cd /usr/local/
1083
1083
virtualenv -p /usr/bin/python3 CyberPanel
1084
1084
source /usr/local/CyberPanel/bin/activate
1085
- wget -O requirements.txt https://$GIT_CONTENT_URL / ${BRANCH_NAME} /requirments.txt
1085
+ wget -O /usr/local/cyberpanel-pip.zip https://repo.cyberpanel.net/cyberpanel-pip.zip
1086
1086
check_return
1087
- pip3.6 install --ignore-installed -r requirements.txt
1087
+ unzip /usr/local/cyberpanel-pip.zip -d /usr/local
1088
+ check_return
1089
+ pip3.6 install /usr/local/pip-packs/*
1088
1090
check_return
1089
1091
cd -
1090
1092
fi
@@ -1176,9 +1178,7 @@ EOF
1176
1178
1177
1179
virtualenv -p /usr/bin/python3 /usr/local/CyberCP
1178
1180
source /usr/local/CyberCP/bin/activate
1179
- wget -O requirements.txt https://$GIT_CONTENT_URL /${BRANCH_NAME} /requirments.txt
1180
- check_return
1181
- pip3.6 install --ignore-installed -r requirements.txt
1181
+ pip3.6 install /usr/local/pip-packs/*
1182
1182
check_return
1183
1183
systemctl restart lscpd
1184
1184
fi
Original file line number Diff line number Diff line change @@ -1987,8 +1987,6 @@ def installRestic():
1987
1987
CentOSPath = '/etc/redhat-release'
1988
1988
1989
1989
if os .path .exists (CentOSPath ):
1990
- command = 'yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo'
1991
- Upgrade .executioner (command , 'Add restic repo.' )
1992
1990
1993
1991
command = 'yum install restic -y'
1994
1992
Upgrade .executioner (command , 'Install Restic' )
You can’t perform that action at this time.
0 commit comments