Skip to content
Permalink
Browse files
bug fix: upgrade
  • Loading branch information
usmannasir committed Apr 11, 2020
1 parent c2c23c7 commit 25ed0cc85870db906b6147f2d5e15d8ea733e5fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -216,6 +216,7 @@ check_return
rm -f requirments.txt
wget -O /usr/local/cyberpanel-pip.zip https://rep.cyberpanel.net/cyberpanel-pip.zip
check_return
rm -rf /usr/local/pip-packs/
unzip /usr/local/cyberpanel-pip.zip -d /usr/local
check_return
. /usr/local/CyberPanel/bin/activate
@@ -2064,7 +2064,7 @@ def upgrade(branch):

if os.path.exists(Upgrade.CentOSPath):
command = 'yum list installed'
Upgrade.installedOutput = subprocess.check_output(shlex.split(command))
Upgrade.installedOutput = subprocess.check_output(shlex.split(command)).decode()

command = 'systemctl stop cpssh'
Upgrade.executioner(command, 'fix csf if there', 0)

0 comments on commit 25ed0cc

Please sign in to comment.