[Amavisd-new-commits] [pkg-amavisd-new] 02/04: Sarge is a long time ago, remove upgrade warning

Alexander Wirt formorer at debian.org
Mon Sep 2 19:27:25 UTC 2013


This is an automated email from the git hooks/post-receive script.

formorer pushed a commit to branch master
in repository pkg-amavisd-new.

commit 0e64125cee989881979422a422a8927ee9a4c2b6
Author: Alexander Wirt <formorer at debian.org>
Date:   Mon Sep 2 21:22:58 2013 +0200

    Sarge is a long time ago, remove upgrade warning
---
 debian/amavisd-new.postinst |   19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/debian/amavisd-new.postinst b/debian/amavisd-new.postinst
index d3cb0a4..8b66568 100644
--- a/debian/amavisd-new.postinst
+++ b/debian/amavisd-new.postinst
@@ -4,10 +4,6 @@
 #
 # see: dh_installdeb(1)
 
-# debconf
-set -e
-. /usr/share/debconf/confmodule
-
 # summary of how this script can be called:
 #        * <postinst> `configure' <most-recently-configured-version>
 #        * <old-postinst> `abort-upgrade' <new version>
@@ -123,18 +119,6 @@ case "$1" in
 	#
 	# Conffile upgrade handling
 	#
-
-	# from sarge amavisd-new (1.0) and previous
-	# disable the config file, initscript will refuse to run
-	db_fset amavisd-new/outdated_config_style_warning seen false || true
-	for i in /etc/amavisd.conf /etc/amavis/amavisd.conf ; do
-		if [ -e "$i" ] ; then
-			mv "$i" "${i}.disabled" || true
-			db_input high amavisd-new/outdated_config_style_warning || true
-			db_go || true
-		fi
-	done
-
 	# Work around dpkg not deleting removed conffiles
 	
 	# (template directories (with files) removed in 1:2.3.3-2)
@@ -158,9 +142,6 @@ case "$1" in
     ;;
 esac
 
-# We don't need debconf anymore from here on
-db_stop
-
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/amavisd-new/pkg-amavisd-new.git



More information about the Amavisd-new-commits mailing list