File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,14 @@ rm -rf /usr/local/CyberPanel
210210virtualenv -p /usr/bin/python3 --system-site-packages /usr/local/CyberPanel
211211check_return
212212rm -f requirments.txt
213- wget -O requirements.txt https://$GIT_CONTENT_URL /${BRANCH_NAME} /requirments.txt
213+ wget -O /usr/local/cyberpanel-pip.zip https://rep.cyberpanel.net/cyberpanel-pip.zip
214+ check_return
215+ unzip /usr/local/cyberpanel-pip.zip -d /usr/local
216+ check_return
214217. /usr/local/CyberPanel/bin/activate
215218check_return
219+ pip3.6 install --ignore-installed /usr/local/pip-packs/*
220+ check_return
216221
217222if [ $SERVER_OS = " Ubuntu" ] ; then
218223 . /usr/local/CyberPanel/bin/activate
243248check_return
244249virtualenv -p /usr/bin/python3 /usr/local/CyberCP
245250check_return
246- wget -O requirements.txt https://$GIT_CONTENT_URL /${BRANCH_NAME} /requirments.txt
247-
248251if [ $SERVER_OS = " Ubuntu" ] ; then
249252 . /usr/local/CyberCP/bin/activate
250253 check_return
@@ -253,7 +256,7 @@ if [ $SERVER_OS = "Ubuntu" ] ; then
253256else
254257 source /usr/local/CyberCP/bin/activate
255258 check_return
256- pip3.6 install --ignore-installed -r requirements.txt
259+ pip3.6 install --ignore-installed /usr/local/pip-packs/ *
257260 check_return
258261fi
259262
You can’t perform that action at this time.
0 commit comments