summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/debian/monkeysphere.postrm2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/debian/monkeysphere.postrm b/packaging/debian/monkeysphere.postrm
index e70a1b1..878b913 100755
--- a/packaging/debian/monkeysphere.postrm
+++ b/packaging/debian/monkeysphere.postrm
@@ -9,7 +9,7 @@ case $1 in
purge)
# delete monkeysphere user
# http://wiki.debian.org/AccountHandlingInMaintainerScripts
- if type deluser >/dev/null 2>&1; then
+ if which deluser >/dev/null 2>&1 ; then
deluser --quiet --system monkeysphere > /dev/null || true
else
echo >&2 "not removing monkeysphere system account because deluser command was not found"