diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-03-01 15:31:03 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-03-01 15:31:03 -0500 |
commit | 7c8c631cd755ccab6bf61bfaf54a00538b93ba3e (patch) | |
tree | 376921c74c39ffc0f143d2581c7b30e4a769ead9 | |
parent | 23969f7aadf7611ed73d300b23c8fbfca91cb66a (diff) |
use 'which' instead of 'type' in postrm, so lintian doesn't complain.
-rwxr-xr-x | packaging/debian/monkeysphere.postrm | 2 |
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" |