[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.49-30-gbd8fd0e
Andreas Beckmann
debian at abeckmann.de
Mon Jan 21 17:39:02 UTC 2013
The following commit has been merged in the piatti branch:
commit 08c9d038585be744f3657c6738bbbf0603629476
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Mon Dec 3 00:52:27 2012 +0100
pre_distupgrade_exceptions: purge cnews before upgrading to wheezy
dpkg 1.16 does not like the version number cr.g7-40.4
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/custom-scripts/scripts/pre_distupgrade_exceptions b/custom-scripts/scripts/pre_distupgrade_exceptions
new file mode 100755
index 0000000..e1166f7
--- /dev/null
+++ b/custom-scripts/scripts/pre_distupgrade_exceptions
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+
+log_debug() {
+ echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
+}
+
+if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "wheezy" ]; then
+
+ # dpkg 1.16 does not like the bad cnews version number cr.g7-40.4
+ # cnews was removed after lenny
+ case ${PIUPARTS_OBJECTS%%=*} in
+ cnews)
+ log_debug
+ dpkg --purge cnews
+ ;;
+ esac
+
+fi
--
piuparts git repository
More information about the Piuparts-commits
mailing list