From: Ivan Rako Date: Thu, 21 Feb 2008 22:54:03 +0000 (+0000) Subject: r27: X-Git-Tag: v2.6.4-1~24 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=15d1b0baa8fb2c1b0ff425952949012e773c5445;p=amavisd-cn.git r27: --- diff --git a/changelog.CARNet b/changelog.CARNet index b36e009..fab5957 100644 --- a/changelog.CARNet +++ b/changelog.CARNet @@ -1,7 +1,7 @@ amavisd-cn (3:2.4.2-3) stable; urgency=low * Maknut konflikt sa sweep-cn - * Dodane definicije za Sweep i SAVI + * Dodane definicije za Sweep i SAVI u template 40-carnet -- Ivan Rako Thu, 21 Feb 2008 23:34:59 +0100 diff --git a/debian/postinst b/debian/postinst index a1a8fe2..b1516e8 100755 --- a/debian/postinst +++ b/debian/postinst @@ -33,7 +33,10 @@ update_conf() { [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx # placeholder. # remember to set changed_config=1 and restart_daemon=1 if necessary - : + #: + if dpkg --compare-versions "$1" lt 3:2.4.2-3; then + conf_from_template + fi } mta=postfix