X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=b1516e825d59389be06cc36df84db15d85452412;hb=15d1b0baa8fb2c1b0ff425952949012e773c5445;hp=a1a8fe2ea92f3e55958f231f02b9dc04c9983726;hpb=ab5e282c076bb8875fc4fdbf0048b517bf0af7be;p=amavisd-cn.git 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