[Piuparts-commits] rev 808 - piatti/org/piuparts.debian.org/etc/scripts
Holger Levsen
holger at alioth.debian.org
Thu Nov 25 00:19:14 UTC 2010
Author: holger
Date: 2010-11-25 00:19:03 +0000 (Thu, 25 Nov 2010)
New Revision: 808
Modified:
piatti/org/piuparts.debian.org/etc/scripts/post_purge_exceptions
piatti/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions
Log:
restore /etc before purge to avoid conffile prompt
Modified: piatti/org/piuparts.debian.org/etc/scripts/post_purge_exceptions
===================================================================
--- piatti/org/piuparts.debian.org/etc/scripts/post_purge_exceptions 2010-11-25 00:02:05 UTC (rev 807)
+++ piatti/org/piuparts.debian.org/etc/scripts/post_purge_exceptions 2010-11-25 00:19:03 UTC (rev 808)
@@ -12,7 +12,12 @@
ltsp-client-core) log_debug
rm -f /etc/ltsp_chroot
;;
+ apt-listbugs) log_debug
+ # restore file
+ mv /tmp/10apt-listbugs /etc/apt/apt.conf.d/
+ ;;
esac
exit 0
+
Modified: piatti/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions
===================================================================
--- piatti/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions 2010-11-25 00:02:05 UTC (rev 807)
+++ piatti/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions 2010-11-25 00:19:03 UTC (rev 808)
@@ -6,10 +6,10 @@
echo "Debug: running script $0"
case $PIUPARTS_OBJECTS in
- apt-listbugs) log_debug
+ 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
+ mv /etc/apt/apt.conf.d/10apt-listbugs /tmp/
;;
esac
More information about the Piuparts-commits
mailing list