The virus definitions can be in daily.cld or daily.cvd, the
script is updated to reflect that
Change-Id: I6c5bbda2e25544d0e78c7e0fca6d92c55486072e
Signed-off-by: liamfallon <liam.fallon@est.tech>
# Check if clamav is installed
DATE=`date -u`
-if [ ! -f /var/lib/clamav/daily.cvd -o ! -x /usr/bin/clamscan -o ! -d /var/log/clamav ]
+if ( [ ! -f /var/lib/clamav/daily.cld ] && [ ! -f /var/lib/clamav/daily.cvd ] ) || [ ! -x /usr/bin/clamscan ] || [ ! -d /var/log/clamav ]
then
echo "$DATE: clamav is not installed or is incorrectly installed." >> $ERRORLOG
notify-send-user -i /usr/share/pixmaps/clamtk.png -u critical "clamav: software not installed correctly"