From: Ivan Rako Date: Tue, 5 Nov 2013 11:55:48 +0000 (+0100) Subject: brisanje starih conffileova X-Git-Tag: debian/3%2.7.1_cn1~1 X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=dbec0460642ff3c3d368eb22bbb0990a01640c62;p=amavisd-cn.git brisanje starih conffileova --- diff --git a/debian/changelog b/debian/changelog index c71773a..e3c0be3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +amavisd-cn (3:2.7.1~cn1) stable; urgency=low + + * Brisanje zaostalih konfiguracijskih datoteka: + /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 + + -- Ivan Rako Tue, 05 Nov 2013 12:51:57 +0100 + amavisd-cn (3:2.7.1~cn0) stable; urgency=low * Prva verzija za wheezy diff --git a/debian/postinst b/debian/postinst index 32c46bb..b7fba03 100755 --- a/debian/postinst +++ b/debian/postinst @@ -215,6 +215,15 @@ 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 + cp_echo "CN: Deleting old conffile ${conffile}..." + rm -f ${conffile} +done + cp_mail $PKG $VERSION exit 0