summaryrefslogtreecommitdiff
path: root/packaging/freebsd/pkg-deinstall
blob: 03db8e8a6d3c418fdcd10bf95a8ce779b64034b3 (plain)
  1. #!/bin/sh
  2. # a package removal script for monkeysphere (borrowing from
  3. # monkeysphere's debian/monkeysphere.postrm)
  4. # Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
  5. # Copyright 2008
  6. # FIXME: is /var/lib/monkeysphere the right place for this stuff on
  7. # FreeBSD?
  8. VARLIB="/var/monkeysphere"
  9. case $2 in
  10. POST-DEINSTALL)
  11. # FIXME: This needs to be filled in! Under what circumstances do we
  12. # want to actually purge all of /var/monkeysphere?
  13. # (note: FreeBSD does not seem to want the package-specific user to be
  14. # purged at package removal)
  15. echo "Warning: If you will *NOT* use this package anymore, please remove the monkeysphere user manually."
  16. echo " You may also want to remove the cached authentication data and keyrings in $VARLIB"
  17. ;;
  18. esac