mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-20 14:32:06 +01:00
fix imunify after upgrade
This commit is contained in:
@@ -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.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user