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