diff --git a/install/lscp.tar.gz b/install/lscp.tar.gz index ab445856d..c9181d2de 100644 Binary files a/install/lscp.tar.gz and b/install/lscp.tar.gz differ diff --git a/plogical/upgrade.py b/plogical/upgrade.py index c24a276b2..4be6b65c5 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1662,11 +1662,8 @@ CSRF_COOKIE_SECURE = True command = 'chmod 600 /usr/local/CyberCP/plogical/adminPass.py' Upgrade.executioner(command, 0) - pycsettings = '/usr/local/CyberCP/CyberCP/settings.pyc' - - if os.path.exists(pycsettings): - os.remove(pycsettings) - + command = "find /usr/local/CyberCP/ -name '*.pyc' -delete" + Upgrade.executioner(command, 0) Upgrade.stdOut("Permissions updated.")