reinstall imunifyav if found

This commit is contained in:
Usman Nasir
2020-08-19 14:19:00 +05:00
parent bf12b44f60
commit b365d8418d

View File

@@ -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.")