]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-init-restart
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / autoscripts / postinst-init-restart
index ba4b3a026c014d2926a5779386192fbec66d3423..35bba207b33bf643ada9bc2c3e80e6e98691e8cb 100644 (file)
@@ -5,9 +5,5 @@ if [ -x "/etc/init.d/#SCRIPT#" ]; then
        else
                _dh_action=start
        fi
-       if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
-               invoke-rc.d #SCRIPT# $_dh_action || #ERROR_HANDLER#
-       else
-               /etc/init.d/#SCRIPT# $_dh_action || #ERROR_HANDLER#
-       fi
+       invoke-rc.d #SCRIPT# $_dh_action || #ERROR_HANDLER#
 fi