[Piuparts-commits] [piuparts] 04/15: add purge workaround for polgen-doc (lenny, non-free)

Holger Levsen holger at moszumanska.debian.org
Mon Dec 1 09:43:58 UTC 2014


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

holger pushed a commit to branch develop
in repository piuparts.

commit 983d8ab059aa0b5e8d939134e51e8580156316e0
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Nov 30 16:24:21 2014 +0100

    add purge workaround for polgen-doc (lenny, non-free)
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/pre_distupgrade_exceptions | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/custom-scripts/scripts/pre_distupgrade_exceptions b/custom-scripts/scripts/pre_distupgrade_exceptions
index 4d8a71e..837a076 100755
--- a/custom-scripts/scripts/pre_distupgrade_exceptions
+++ b/custom-scripts/scripts/pre_distupgrade_exceptions
@@ -35,3 +35,16 @@ if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "wheezy" ]; then
 	fi
 
 fi
+
+if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "jessie" ]; then
+
+	case ${PIUPARTS_OBJECTS%%=*} in
+		polgen-doc)
+			# install-info problems during removal if the package survives
+			# polgen-doc was removed after lenny
+			log_debug
+			dpkg --remove polgen-doc
+			;;
+	esac
+
+fi

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



More information about the Piuparts-commits mailing list