X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fprerm-init;h=2a8aa4c6cdd619a2aa52c6d83f6f3528590ff5ba;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=eab98c72f385f26e0707b191f2b89a13cec7c61a;hpb=2486063234469e39cce67055c5bd0644213724cf;p=debhelper.git diff --git a/autoscripts/prerm-init b/autoscripts/prerm-init index eab98c7..2a8aa4c 100644 --- a/autoscripts/prerm-init +++ b/autoscripts/prerm-init @@ -1,7 +1,3 @@ if [ -x "/etc/init.d/#SCRIPT#" ]; then - if [ -x /usr/sbin/invoke-rc.d ] ; then - invoke-rc.d #SCRIPT# stop - else - /etc/init.d/#SCRIPT# stop - fi + invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER# fi