File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1373,14 +1373,6 @@ def downloadAndUpgrade(versionNumbring, branch):
13731373
13741374 Upgrade .stdOut ('Settings file restored!' )
13751375
1376- ## Move static files
1377-
1378- imunifyPath = '/usr/local/CyberCP/public/imunify'
1379-
1380- if os .path .exists (imunifyPath ):
1381- command = "yum reinstall imunify360-firewall-generic -y"
1382- Upgrade .executioner (command , command , 1 )
1383-
13841376 Upgrade .staticContent ()
13851377
13861378 except :
@@ -2113,6 +2105,14 @@ def upgrade(branch):
21132105 Upgrade .installCLScripts ()
21142106 Upgrade .runSomeImportantBash ()
21152107
2108+ ## Move static files
2109+
2110+ imunifyPath = '/usr/local/CyberCP/public/imunify'
2111+
2112+ if os .path .exists (imunifyPath ):
2113+ command = "yum reinstall imunify360-firewall-generic -y"
2114+ Upgrade .executioner (command , command , 1 )
2115+
21162116 Upgrade .stdOut ("Upgrade Completed." )
21172117
21182118
You can’t perform that action at this time.
0 commit comments