[Piuparts-commits] rev 803 - piatti/org/piuparts.debian.org/etc/scripts
Holger Levsen
holger at alioth.debian.org
Wed Nov 24 21:13:49 UTC 2010
Author: holger
Date: 2010-11-24 21:13:44 +0000 (Wed, 24 Nov 2010)
New Revision: 803
Added:
piatti/org/piuparts.debian.org/etc/scripts/pre_upgrade_prepare_exceptions
Removed:
piatti/org/piuparts.debian.org/etc/scripts/post_install_prepare_exceptions
Log:
post_install is actually run after install+upgrade
Copied: piatti/org/piuparts.debian.org/etc/scripts/pre_upgrade_prepare_exceptions (from rev 802, piatti/org/piuparts.debian.org/etc/scripts/post_install_prepare_exceptions)
===================================================================
--- piatti/org/piuparts.debian.org/etc/scripts/pre_upgrade_prepare_exceptions (rev 0)
+++ piatti/org/piuparts.debian.org/etc/scripts/pre_upgrade_prepare_exceptions 2010-11-24 21:13:44 UTC (rev 803)
@@ -0,0 +1,17 @@
+#!/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 installs this file which will
+ # make upgrades fail if packages have RC bugs
+ rm -f /etc/apt/apt.conf.d/10apt-listbugs
+ ;;
+esac
+
+exit 0
+
More information about the Piuparts-commits
mailing list