X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fprerm-init-norestart;h=cacde6e31c98e2c68d3a53717052230452a8a1c3;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=0f64c45eb69e9cfa496f54d13907205f73be1c8c;hpb=ad092508ea530253700749a3119bf8a24dcc162e;p=debhelper.git diff --git a/autoscripts/prerm-init-norestart b/autoscripts/prerm-init-norestart index 0f64c45..cacde6e 100644 --- a/autoscripts/prerm-init-norestart +++ b/autoscripts/prerm-init-norestart @@ -1,7 +1,3 @@ if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; then - if [ -x /usr/sbin/invoke-rc.d ] ; then - invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER# - else - /etc/init.d/#SCRIPT# stop || #ERROR_HANDLER# - fi + invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER# fi