From 15d1b0baa8fb2c1b0ff425952949012e773c5445 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Thu, 21 Feb 2008 22:54:03 +0000 Subject: [PATCH] r27: --- changelog.CARNet | 2 +- debian/postinst | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 1.7.10.4