From 7c8c631cd755ccab6bf61bfaf54a00538b93ba3e Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sun, 1 Mar 2009 15:31:03 -0500 Subject: use 'which' instead of 'type' in postrm, so lintian doesn't complain. --- packaging/debian/monkeysphere.postrm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3