[Piuparts-commits] [piuparts] 01/01: custom-scripts: properly disable apt-listbugs when testing it
Holger Levsen
holger at moszumanska.debian.org
Sun May 25 21:57:46 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 69a213e46272d6633f439dafcf74da53ef54fd45
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun May 25 23:57:41 2014 +0200
custom-scripts: properly disable apt-listbugs when testing it
---
custom-scripts/scripts/post_install_exceptions | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/custom-scripts/scripts/post_install_exceptions b/custom-scripts/scripts/post_install_exceptions
index d59b8a8..11c2ca0 100755
--- a/custom-scripts/scripts/post_install_exceptions
+++ b/custom-scripts/scripts/post_install_exceptions
@@ -7,9 +7,10 @@ log_debug() {
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
+ # when installed apt-listbugs is run on installations / upgrades
+ # and will cause them to fail due to prompting
+ # if packages being installed currently have RC bugs.
+ # so disable it here.
+ export APT_LISTBUGS_FRONTEND="none"
;;
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