Skip to content
Permalink
Browse files
fix imunify after upgrade
  • Loading branch information
usmannasir committed Apr 26, 2020
1 parent 00e23f4 commit 4e53857425e4272f6a67c709be5428aec910136a
Showing 1 changed file with 8 additions and 8 deletions.
@@ -1373,14 +1373,6 @@ def downloadAndUpgrade(versionNumbring, branch):

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 @@ def upgrade(branch):
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.")


0 comments on commit 4e53857

Please sign in to comment.