mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-02 02:10:48 +01:00
reinstall imunifyav if found
This commit is contained in:
@@ -2347,6 +2347,12 @@ vmail
|
||||
command = "yum reinstall imunify360-firewall-generic -y"
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
imunifyAVPath = '/etc/sysconfig/imunify360/integration.conf'
|
||||
|
||||
if os.path.exists(imunifyAVPath):
|
||||
command = "yum reinstall imunify-antivirus-generic -y"
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
Upgrade.stdOut("Upgrade Completed.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user