X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=a2e5bce31993f434b71141c919e1d269d6a1da7b;hb=33445bae613225f9f4bdc75bd6b23f4c1b7991a9;hp=32c46bba77211e657f1952e848aa2d7f721b3dea;hpb=d6f820f6d0da490565cfbfd7534e534926175759;p=amavisd-cn.git diff --git a/debian/postinst b/debian/postinst index 32c46bb..a2e5bce 100755 --- a/debian/postinst +++ b/debian/postinst @@ -215,6 +215,17 @@ if [ -n "$2" -a -z "$changed_config" ] && \ cp_echo " perl -pi -e 's/_CN_DOMAIN_/$domain/g' $ACONF" fi +# Delete old conffiles... +for conffile in /etc/logcheck/violations.ignore.d/amavisd-new \ + /etc/logcheck/ignore.d.server/amavisd-new \ + /etc/logcheck/ignore.d.workstation/amavisd-new \ + /etc/cron.daily/amavisd-new; do + if [ -f ${conffile} ]; then + cp_echo "CN: Deleting old conffile ${conffile}..." + rm -f ${conffile} + fi +done + cp_mail $PKG $VERSION exit 0