mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-11 05:36:49 +02:00
Merge branch 'stable' into qtwrkdev
This commit is contained in:
@@ -661,6 +661,9 @@ class preFlightsChecks:
|
||||
command = 'chmod 600 /usr/local/CyberCP/plogical/adminPass.py'
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
command = "find /usr/local/CyberCP/ -name '*.pyc' -delete"
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
def install_unzip(self):
|
||||
self.stdOut("Install unzip")
|
||||
try:
|
||||
|
||||
@@ -1662,6 +1662,10 @@ CSRF_COOKIE_SECURE = True
|
||||
command = 'chmod 600 /usr/local/CyberCP/plogical/adminPass.py'
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
command = "find /usr/local/CyberCP/ -name '*.pyc' -delete"
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
|
||||
Upgrade.stdOut("Permissions updated.")
|
||||
|
||||
except BaseException as msg:
|
||||
|
||||
Reference in New Issue
Block a user