[Piuparts-commits] [piuparts] 01/02: Revert "drop scripts/pre_upgrade_exceptions"
Holger Levsen
holger at moszumanska.debian.org
Sun May 18 16:47:17 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 b3a39f2f218c4dc1c2dee324b4734be2f134a162
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun May 18 13:56:16 2014 +0200
Revert "drop scripts/pre_upgrade_exceptions"
This reverts commit 51f34be8a3339465c6cf68767bc7ea07bfcf5b9d.
---
.../etc/scripts/pre_upgrade_exceptions | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions b/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions
new file mode 100755
index 0000000..db0a126
--- /dev/null
+++ b/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+log_debug() {
+ echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
+}
+
+echo "Debug: running script $0"
+case $PIUPARTS_OBJECTS in
+ apt-listbugs) log_debug
+ # apt-listbugs is run on installations / upgrades
+ # and will them fail if packages have RC bugs
+ # (which is good and sensible)
+ printf "%b\n" "#/bin/sh\nexit 0" > /usr/sbin/apt-listbugs
+ ;;
+esac
+
+exit 0
+
--
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