From 2aabd776bd79c1d0c8bb51614c6ab7fcb341a7ee Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 22 Jun 2022 12:13:54 +0500 Subject: [PATCH] possible resolution for https://github.com/usmannasir/cyberpanel/issues/897 --- plogical/upgrade.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 19769beaf..11b483f77 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2765,7 +2765,8 @@ vmail imunifyAVPath = '/etc/sysconfig/imunify360/integration.conf' if os.path.exists(imunifyAVPath): - command = "yum reinstall imunify-antivirus-generic -y" + execPath = "/usr/local/CyberCP/bin/python /usr/local/CyberCP/CLManager/CageFS.py" + command = execPath + " --function submitinstallImunifyAV" Upgrade.executioner(command, command, 1) Upgrade.stdOut("Upgrade Completed.")