chiark / gitweb /
draft initd status support
[userv.git] / debian / prerm
index fb21d38f71ece0c97b5721323a07f2d3a4c2313c..0be459b0894463ed94a3b89354df0f1d89d93164 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -e
-if type -p invoke-rc.d >/dev/null 2>&1; then
+if command -v invoke-rc.d >/dev/null 2>&1; then
        invoke-rc.d userv stop
 else
        /etc/init.d/userv stop