use 'which' instead of 'type' in postrm, so lintian doesn't complain.
authorJameson Graef Rollins <jrollins@finestructure.net>
Sun, 1 Mar 2009 20:31:03 +0000 (15:31 -0500)
committerJameson Graef Rollins <jrollins@finestructure.net>
Sun, 1 Mar 2009 20:31:03 +0000 (15:31 -0500)
packaging/debian/monkeysphere.postrm

index e70a1b1824aca5b6156be9daffe41f7c9a08fa15..878b913bfd55925d964851275a5b81df11a26f42 100755 (executable)
@@ -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"