]> git.proxmox.com Git - pmg-api.git/commit
avast: change 'scan' invocation
authorStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 17 May 2019 12:45:45 +0000 (14:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 1 Jul 2019 15:51:09 +0000 (17:51 +0200)
commit661d569aa9f37f8e9eb5a24d01415bba49ce066a
tree2e393ed35453751648a58ba69246265c237c6ea8
parent21752ddf126d5803239dbd867802b361ace2495b
avast: change 'scan' invocation

Change the invocation of avast's 'scan' executable from a hardcoded '/bin/scan'
to 'scan', so that it checks for the executable in the PATH.

The hardcoded path became apparent, while testing the new upstream release
of avast (3.0.1), where 'scan' got moved from '/bin/scan' to '/usr/bin/scan'

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PMG/Utils.pm