]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/prerm-init-norestart-invoke
r533: * In script fragments, use more posix tests, no -a or -o, no parens.
[debhelper.git] / autoscripts / prerm-init-norestart-invoke
index f04d45cfb818fb21fbba6fcb2f611dbfa6f3a28f..b9414f07cc7762454c897203a77f87b03416832e 100644 (file)
@@ -1,3 +1,3 @@
-if [ -x "/etc/init.d/#SCRIPT#" -a "$1" = remove ]; then
+if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; then
        invoke-rc.d #SCRIPT# stop
 fi