File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1082,9 +1082,11 @@ if [[ $DEV == "ON" ]] ; then
10821082 cd /usr/local/
10831083 virtualenv -p /usr/bin/python3 CyberPanel
10841084 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
10861086 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/*
10881090 check_return
10891091 cd -
10901092fi
@@ -1176,9 +1178,7 @@ EOF
11761178
11771179virtualenv -p /usr/bin/python3 /usr/local/CyberCP
11781180source /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/*
11821182check_return
11831183systemctl restart lscpd
11841184fi
Original file line number Diff line number Diff line change @@ -1987,8 +1987,6 @@ def installRestic():
19871987 CentOSPath = '/etc/redhat-release'
19881988
19891989 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.' )
19921990
19931991 command = 'yum install restic -y'
19941992 Upgrade .executioner (command , 'Install Restic' )
You can’t perform that action at this time.
0 commit comments