Skip to content
Permalink
Browse files

bug fix: upgrade on ubuntu

  • Loading branch information
usmannasir committed Jan 6, 2020
1 parent d1185c6 commit ee68e5288dc1421a8a732cd1b8ced8547a4bb935
Showing with 2 additions and 2 deletions.
  1. +2 −2 preUpgrade.sh
@@ -56,9 +56,9 @@ fi

rm -rf /usr/local/CyberPanel
virtualenv -p /usr/bin/python3 --system-site-packages /usr/local/CyberPanel
source /usr/local/CyberPanel/bin/activate
rm -rf requirments.txt
wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/requirments.txt
. /usr/local/CyberPanel/bin/activate

if [ $SERVER_OS = "Ubuntu" ] ; then
pip3 install --ignore-installed -r requirments.txt
@@ -74,8 +74,8 @@ wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/plogical/upg
##

virtualenv -p /usr/bin/python3 /usr/local/CyberCP
source /usr/local/CyberCP/bin/activate
wget -O requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/requirments.txt
. /usr/local/CyberPanel/bin/activate
if [ $SERVER_OS = "Ubuntu" ] ; then
pip3 install --ignore-installed -r requirments.txt
else

0 comments on commit ee68e52

Please sign in to comment.
You can’t perform that action at this time.