From 868ba759bb6eec429139205e01f59f494cdaf98b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 10 Nov 2013 15:23:29 -0400 Subject: debhelper (9.20131110) unstable; urgency=low * dh_installinit: Revert changes that added versioned dependency on sysv-rc to support upstart, which later grew to a versioned dependency on sysv-rc | file-rc, and which seems to want to continue growing to list other init systems, which there currently seem to be far too many of, for far too little benefit. The sysv-rc dependency is already met in stable. The file-rc dependency is not, so if someone cares about that, they need to find a properly designed solution, which this was not. Closes: #729248 # imported from the archive --- autoscripts/postrm-ucf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 autoscripts/postrm-ucf (limited to 'autoscripts/postrm-ucf') diff --git a/autoscripts/postrm-ucf b/autoscripts/postrm-ucf new file mode 100644 index 00000000..da375726 --- /dev/null +++ b/autoscripts/postrm-ucf @@ -0,0 +1,12 @@ +if [ "$1" = "purge" ]; then + for ext in .ucf-new .ucf-old .ucf-dist ""; do + rm -f "#UCFDEST#$ext" + done + + if [ -x "`which ucf 2>/dev/null`" ]; then + ucf --purge "#UCFDEST#" + fi + if [ -x "`which ucfr 2>/dev/null`" ]; then + ucfr --purge #PACKAGE# "#UCFDEST#" + fi +fi -- cgit v1.2.3