You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/mandriva/2010.2/applications/klamav/klamav.sh

14 lines
324 B

#!/bin/bash
KLAMAV_DIR=${HOME}/.klamav
if [ ! -d ${KLAMAV_DIR}/database -o ! -d ${KLAMAV_DIR}/quarantine ]; then
mkdir -p ${KLAMAV_DIR}/{database,quarantine}
fi
if [ ! -f ${KLAMAV_DIR}/database/main.cvd -o ! -f ${KLAMAV_DIR}/database/daily.cvd ]; then
cp -f /var/lib/clamav/* ${KLAMAV_DIR}/database
fi
klamav-real