chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
version
[userv.git]
/
debian
/
prerm
diff --git
a/debian/prerm
b/debian/prerm
index fb21d38f71ece0c97b5721323a07f2d3a4c2313c..0be459b0894463ed94a3b89354df0f1d89d93164 100644
(file)
--- a/
debian/prerm
+++ b/
debian/prerm
@@
-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