[Piuparts-commits] [piuparts] 01/01: Move custom script to make apt-listbugs testable to the right directory

Holger Levsen holger at moszumanska.debian.org
Mon May 19 11:07: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 6ef1fcdcca539c88f892fa134f24cf31f16ba9b7
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon May 19 13:07:41 2014 +0200

    Move custom script to make apt-listbugs testable to the right directory
---
 .../scripts/post_install_exceptions                                  | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions b/custom-scripts/scripts/post_install_exceptions
similarity index 89%
rename from org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions
rename to custom-scripts/scripts/post_install_exceptions
index db0a126..83b0946 100755
--- a/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions
+++ b/custom-scripts/scripts/post_install_exceptions
@@ -1,10 +1,10 @@
 #!/bin/sh
+set -e
 
 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 
@@ -13,6 +13,3 @@ case $PIUPARTS_OBJECTS in
 				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