3 # a package removal script for monkeysphere (borrowing from
4 # monkeysphere's debian/monkeysphere.postrm)
6 # Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
9 # FIXME: is /var/lib/monkeysphere the right place for this stuff on
11 VARLIB="/var/monkeysphere"
17 # FIXME: This doesn't do anything! Under what circumstances do we
18 # want to actually automatically purge all of /var/monkeysphere?
20 # (note: FreeBSD does not seem to want the package-specific user to be
21 # purged at package removal)
22 if pw user show "${USER}" 2>/dev/null >/dev/null; then
23 echo "Warning: If you will *NOT* use this package anymore, please remove the monkeysphere user manually."
25 if [ -d "$VARLIB" ] ; then
26 echo "Warning: You may want to remove monkeysphere's cached authentication data and keyrings in $VARLIB"