[Pkg-clamav-devel] Bug#672537: Unnecessary? dependency on clamav-daemon

Richard Laager rlaager at wiktel.com
Mon May 21 19:09:56 UTC 2012


/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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20120521/cf569d9b/attachment.pgp>


More information about the Pkg-clamav-devel mailing list