diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-09-12 17:10:49 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-09-12 17:10:49 -0400 |
commit | 85b105c27fb67921199d282dc90d612c9b525bee (patch) | |
tree | bc87ff39b18feb035f2b3b2d71c42e439cba1ed3 /packaging/freebsd/pkg-deinstall | |
parent | e18b89b0214c423d3a3c118190aab6549e461d7f (diff) |
streamlined pkg-install and pkg-deinstall, based on mysql and postgresql ports
Diffstat (limited to 'packaging/freebsd/pkg-deinstall')
-rwxr-xr-x | packaging/freebsd/pkg-deinstall | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packaging/freebsd/pkg-deinstall b/packaging/freebsd/pkg-deinstall index 84217d5..03db8e8 100755 --- a/packaging/freebsd/pkg-deinstall +++ b/packaging/freebsd/pkg-deinstall @@ -8,11 +8,17 @@ # FIXME: is /var/lib/monkeysphere the right place for this stuff on # FreeBSD? -VARLIB="/var/lib/monkeysphere" +VARLIB="/var/monkeysphere" +case $2 in +POST-DEINSTALL) # FIXME: This needs to be filled in! Under what circumstances do we -# want to actually purge all of /var/lib/monkeysphere? +# want to actually purge all of /var/monkeysphere? # (note: FreeBSD does not seem to want the package-specific user to be # purged at package removal) + echo "Warning: If you will *NOT* use this package anymore, please remove the monkeysphere user manually." + echo " You may also want to remove the cached authentication data and keyrings in $VARLIB" +;; +esac |