db_seen u config za rbl
[postfix-cn.git] / debian / config
index 5d7e58a..e6bc1d9 100755 (executable)
@@ -5,19 +5,13 @@ set -e
 # Load debconf
 . /usr/share/debconf/confmodule
 
-db_input high postfix-cn/rbl || true
-if dpkg --compare-versions "$2" lt 2.1.5-8; then
-  db_fset postfix-cn/matchgecos seen false
+if dpkg --compare-versions "$2" lt 2.3.8-5; then
+  db_fset postfix-cn/rbl seen false
   db_go
 fi
-db_input critical postfix-cn/matchgecos || true
-
-db_get postfix-cn/upgrade-from-sendmail || true
-upgrade_yes="$RET"
+db_input high postfix-cn/rbl || true
 
-if [ "$upgrade_yes" = "false" ]; then
-  exit 1
-fi
+db_input critical postfix-cn/matchgecos || true
 
 db_go || true
 db_stop || true