/usr/share/clamav-unoffial-sigs/conf.d/01-debian.conf could do this instead of unconditionally setting reload_dbs=yes:
if [ -e /var/run/clamav/clamd.pid ] ; then
reload_dbs=yes
else
reload_dbs=no
fi
Then you could drop the Depends: clamav-daemon (or demote it to
Suggests) and it would Just Work for both clamd and non-clamd use cases.
--
Richard
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pkg-clamav-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel
