diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 2eeef02bf..427092015 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1373,14 +1373,6 @@ class Upgrade: Upgrade.stdOut('Settings file restored!') - ## Move static files - - imunifyPath = '/usr/local/CyberCP/public/imunify' - - if os.path.exists(imunifyPath): - command = "yum reinstall imunify360-firewall-generic -y" - Upgrade.executioner(command, command, 1) - Upgrade.staticContent() except: @@ -2113,6 +2105,14 @@ vmail Upgrade.installCLScripts() Upgrade.runSomeImportantBash() + ## Move static files + + imunifyPath = '/usr/local/CyberCP/public/imunify' + + if os.path.exists(imunifyPath): + command = "yum reinstall imunify360-firewall-generic -y" + Upgrade.executioner(command, command, 1) + Upgrade.stdOut("Upgrade Completed.")