chiark / gitweb /
command -v
[userv.git] / debian / postinst
index 583b1b719c5abd47a72d1e610b53906db9a62e46..a6879b93c70cf4732eb9dd199e6b8dfb414199a2 100644 (file)
@@ -2,7 +2,7 @@
 set -e
 update-rc.d userv defaults 19 50 > /dev/null
 
-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 start
 else
     /etc/init.d/userv start