File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ check_return
216216rm -f requirments.txt
217217wget -O /usr/local/cyberpanel-pip.zip https://rep.cyberpanel.net/cyberpanel-pip.zip
218218check_return
219+ rm -rf /usr/local/pip-packs/
219220unzip /usr/local/cyberpanel-pip.zip -d /usr/local
220221check_return
221222. /usr/local/CyberPanel/bin/activate
Original file line number Diff line number Diff line change @@ -2064,7 +2064,7 @@ def upgrade(branch):
20642064
20652065 if os .path .exists (Upgrade .CentOSPath ):
20662066 command = 'yum list installed'
2067- Upgrade .installedOutput = subprocess .check_output (shlex .split (command ))
2067+ Upgrade .installedOutput = subprocess .check_output (shlex .split (command )). decode ()
20682068
20692069 command = 'systemctl stop cpssh'
20702070 Upgrade .executioner (command , 'fix csf if there' , 0 )
You can’t perform that action at this time.
0 commit comments