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.
14 lines
324 B
14 lines
324 B
13 years ago
|
#!/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
|