mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-15 02:56:49 +01:00
bug fix: upgrade
This commit is contained in:
@@ -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 @@ vmail
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user