summaryrefslogtreecommitdiff
path: root/packaging/debian/monkeysphere.postrm
blob: 878b913bfd55925d964851275a5b81df11a26f42 (plain)
  1. #!/bin/sh -e
  2. # postrm script for monkeysphere
  3. # Author: Jameson Rollins <jrollins@finestructure.net>
  4. # Copyright 2008-2009
  5. case $1 in
  6. purge)
  7. # delete monkeysphere user
  8. # http://wiki.debian.org/AccountHandlingInMaintainerScripts
  9. if which deluser >/dev/null 2>&1 ; then
  10. deluser --quiet --system monkeysphere > /dev/null || true
  11. else
  12. echo >&2 "not removing monkeysphere system account because deluser command was not found"
  13. fi
  14. ;;
  15. esac
  16. # dh_installdeb will replace this with shell code automatically
  17. # generated by other debhelper scripts.
  18. #DEBHELPER#
  19. exit 0