From caec2b5112bc2e975f1badaaba03099f925b2358 Mon Sep 17 00:00:00 2001 From: Niels Thykier <niels@thykier.net> Date: Thu, 26 Nov 2015 18:03:46 +0100 Subject: Revert "dh_installinit: Disable init scripts on removal" This reverts commit 0f09b1f88b36eeb99d0b7df8ae2702442e03b45f. --- autoscripts/postrm-init | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'autoscripts') diff --git a/autoscripts/postrm-init b/autoscripts/postrm-init index 9881b1cf..6f5bb09a 100644 --- a/autoscripts/postrm-init +++ b/autoscripts/postrm-init @@ -1,17 +1,10 @@ -if [ "$1" = "remove" ] ; then - # Attempt to disable but ignore failures as it is not - # required (and the script must be a able to handle - # being called while the package is removed, but not - # yet purged) - update-rc.d #SCRIPT# disable >/dev/null || true -fi if [ "$1" = "purge" ] ; then update-rc.d #SCRIPT# remove >/dev/null fi -# In case this system is running systemd, we make systemd reload the -# unit files to pick up changes. +# In case this system is running systemd, we make systemd reload the unit files +# to pick up changes. if [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi -- cgit v1.2.3