[Piuparts-commits] [piuparts] 13/14: more lenny purge cleanup

Holger Levsen holger at moszumanska.debian.org
Mon Dec 9 11:58:40 UTC 2013


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

holger pushed a commit to branch develop
in repository piuparts.

commit 3989344e2387a9608dc15acae38b6f63006c008f
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Dec 9 00:33:38 2013 +0100

    more lenny purge cleanup
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 .../scripts-squeeze/post_remove_exceptions_lenny     | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/custom-scripts/scripts-squeeze/post_remove_exceptions_lenny b/custom-scripts/scripts-squeeze/post_remove_exceptions_lenny
new file mode 100755
index 0000000..389c72c
--- /dev/null
+++ b/custom-scripts/scripts-squeeze/post_remove_exceptions_lenny
@@ -0,0 +1,20 @@
+#!/bin/sh
+set -e
+
+log_debug() {
+	echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
+}
+
+case "$PIUPARTS_DISTRIBUTION" in
+	lenny) : ;;
+	*) exit 0 ;;
+esac
+
+case ${PIUPARTS_OBJECTS%%=*} in
+	postgis)
+		#WORKSAROUND #560409: postgis can't be purged if postgresql
+		# is not installed due to missing directory
+		log_debug
+		mkdir -p /usr/lib/postgresql/8.3/lib
+		;;
+esac

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