From 28dd2a69844690525366b877227aa9b7fd6d3b93 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Sun, 12 Apr 2009 14:19:21 +0200 Subject: [PATCH] - popravi bug u zakomentiravanju SAVI-ja koji postoji od prvih verzija amavisd-cn paketa :( --- debian/postinst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index 0d341f6..ee3f156 100755 --- a/debian/postinst +++ b/debian/postinst @@ -57,12 +57,14 @@ fi if [ ! -f $ACONF -o ! -s $ACONF ]; then # Create fresh config from template conf_from_template + restart_daemon=1 fi # disable SAVI as proven problematic -if cp_check_and_sed "^\['Sophos SAVI'" \ - "s/^\(\['Sophos SAVI', ..sophos_savi \]\)/#\1/" $ACONF; then +if cp_check_and_sed "^[[:blank:]]*\['Sophos SAVI'" \ + "s/^[[:blank:]]*\(\['Sophos SAVI', ..sophos_savi \]\)/#\1/" $ACONF; then cp_echo "CN: Disabled SAVI::Perl usage in ${ACONF}." + restart_daemon=1 fi check_and_add_alias virusalert root -- 1.7.10.4