]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - debian/nfs-common.prerm
Fix obsolete invocations of update-rc.d by switching nfs-common to use dh_installinit...
[nfs-utils.git] / debian / nfs-common.prerm
old mode 100755 (executable)
new mode 100644 (file)
index a3e730f..c6d2a72
@@ -1,8 +1,8 @@
 #!/bin/sh
 
-#DEBHELPER#
+set -e
 
-[ -x /etc/init.d/nfs-common ] && /etc/init.d/nfs-common stop
+#DEBHELPER#
 
 if [ "$1" != upgrade ]
 then