File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ check_return
216
216
rm -f requirments.txt
217
217
wget -O /usr/local/cyberpanel-pip.zip https://rep.cyberpanel.net/cyberpanel-pip.zip
218
218
check_return
219
+ rm -rf /usr/local/pip-packs/
219
220
unzip /usr/local/cyberpanel-pip.zip -d /usr/local
220
221
check_return
221
222
. /usr/local/CyberPanel/bin/activate
Original file line number Diff line number Diff line change @@ -2064,7 +2064,7 @@ def upgrade(branch):
2064
2064
2065
2065
if os .path .exists (Upgrade .CentOSPath ):
2066
2066
command = 'yum list installed'
2067
- Upgrade .installedOutput = subprocess .check_output (shlex .split (command ))
2067
+ Upgrade .installedOutput = subprocess .check_output (shlex .split (command )). decode ()
2068
2068
2069
2069
command = 'systemctl stop cpssh'
2070
2070
Upgrade .executioner (command , 'fix csf if there' , 0 )
You can’t perform that action at this time.
0 commit comments