[Piuparts-commits] [piuparts] 03/08: add exception for purging ekeyd-uds

Holger Levsen holger at moszumanska.debian.org
Thu Apr 9 08:12:32 UTC 2015


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

holger pushed a commit to branch develop
in repository piuparts.

commit 215a332677b1d838a9602f0c4ee98e22de010ac2
Author: Andreas Beckmann <anbe at debian.org>
Date:   Wed Apr 8 14:50:36 2015 +0200

    add exception for purging ekeyd-uds
    
    package was removed after squeeze and fails to purge in jessie due to udev changes
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/pre_distupgrade_exceptions | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/custom-scripts/scripts/pre_distupgrade_exceptions b/custom-scripts/scripts/pre_distupgrade_exceptions
index 21d6cc9..2c2f38a 100755
--- a/custom-scripts/scripts/pre_distupgrade_exceptions
+++ b/custom-scripts/scripts/pre_distupgrade_exceptions
@@ -48,6 +48,18 @@ if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "wheezy" ]; then
 
 fi
 
+if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "jessie" ]; then
+
+	case ${PIUPARTS_OBJECTS%%=*} in
+		ekeyd-uds)
+			# ekeyd-uds was removed after squeeze, maintainer scripts are incompatible with udev/jessie
+			log_debug
+			dpkg --purge ekeyd-uds
+			;;
+	esac
+
+fi
+
 if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "experimental" ]; then
 
 	case ${PIUPARTS_OBJECTS} in

-- 
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