+clamav-cn (3:0.95.2-1lenny2) stable; urgency=medium
+
+ * Ispravlja /etc/amavis/conf.d/15-av_scanners zbog promijenjenih argumenata
+ clamscana
+
+ -- Ivan Rako <Ivan.Rako@CARNet.hr> Mon, 26 Oct 2009 15:36:56 +0100
+
clamav-cn (3:0.95.2-1lenny1) stable; urgency=medium
* nova verzija sa volatile.debian.org
# dodaj korisnika clamav u grupu amavis (ako postoji...)
getent group amavis > /dev/null && usermod -G amavis clamav && restart="yes"
+# ispravi opciju od clamscana u amavis konfi
+# --disable-summary -> --no-summary
+if [ -f /etc/amavis/conf.d/15-av_scanners ]; then
+ cp_check_and_sed "\-\-disable-summary" \
+ "s/--disable-summary/--no-summary/g" \
+ /etc/amavis/conf.d/15-av_scanners && restart_amavis="yes" || true
+
+ if [ -f /etc/amavis/conf.d/15-av_scanners.cn-old ]; then
+ rm -f /etc/amavis/conf.d/15-av_scanners.cn-old
+ fi
+fi
+
+if [ "$restart_amavis" = "yes" ]; then
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ [ -x /etc/init.d/amavisd-cn ] && invoke-rc.d amavisd-cn restart
+ else
+ [ -x /etc/init.d/amavisd-cn ] && /etc/init.d/amavisd-cn restart
+ fi
+ # nije potreban restart clamava
+ restart="no"
+fi
+
+
# restart if needed
[ "$restart" = "yes" ] || exit 0
if [ -x /usr/sbin/invoke-rc.d ]; then