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