Commit 26522477 authored by Paul Cammish's avatar Paul Cammish
Browse files

buster_testing -> buster

parent b137c847
......@@ -52,6 +52,16 @@ for i in $(seq 1 100) ; do
sleep 1
# horrible hack
if [ -f "/var/lib/clamav/bytecode.cvd" -o -f "/var/lib/clamav/bytecode.cld" ] && [ -f "/var/lib/clamav/daily.cvd" -o -f "/var/lib/clamav/daily.cld" ] && [ -f "/var/lib/clamav/main.cvd" -o -f "/var/lib/clamav/main.cld" ] ; then
echo "We have what look to be valid definitions..."
echo "Failed to download clamAV definitions, going to fallback."
cd /var/lib/clamav/
wget -qO clamav.tar.gz
tar -xvf clamav.tar.gz
# Start clamav, whatever state it's currently in
systemctl unmask clamav-daemon
service clamav-daemon stop
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment