mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
e4654f8b9d
PR: ports/150230 Submitted by: Eitan Adler <lists@eitanadler.com> Approved by: dkg@fifthhorseman.net (maintainer)
27 lines
734 B
Bash
27 lines
734 B
Bash
#!/bin/sh
|
|
|
|
# a package removal script for monkeysphere (borrowing from
|
|
# monkeysphere's debian/monkeysphere.postrm)
|
|
|
|
# Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
|
|
# Copyright 2008,2009
|
|
|
|
# FIXME: is /var/monkeysphere the right place for this stuff on
|
|
# FreeBSD?
|
|
VARLIB="/var/monkeysphere"
|
|
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
USER=monkeysphere
|
|
# FIXME: This doesn't do anything! Under what circumstances do we
|
|
# want to actually automatically purge all of /var/monkeysphere?
|
|
|
|
# (note: FreeBSD does not seem to want the package-specific user to be
|
|
# purged at package removal)
|
|
if [ -d "$VARLIB" ] ; then
|
|
echo "Warning: You may want to remove monkeysphere's cached authentication data and keyrings in $VARLIB"
|
|
fi
|
|
;;
|
|
esac
|