chiark / gitweb /
changelog WIP
[userv.git] / debian / prerm
index c40e404a32257905feab1dbc69b6c935387c9643..0be459b0894463ed94a3b89354df0f1d89d93164 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -e
-if type 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