r27:
[amavisd-cn.git] / debian / postinst
index a1a8fe2..b1516e8 100755 (executable)
@@ -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