From 846174da30ba5e96c6537a1a5c88666b3120177b Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 30 Oct 2008 17:25:40 -0400 Subject: reorganizing FreeBSD port to make it clearer where it in /usr/ports and to make it easier to rebuild the port --- packaging/freebsd/pkg-deinstall | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 packaging/freebsd/pkg-deinstall (limited to 'packaging/freebsd/pkg-deinstall') diff --git a/packaging/freebsd/pkg-deinstall b/packaging/freebsd/pkg-deinstall deleted file mode 100755 index 3000878..0000000 --- a/packaging/freebsd/pkg-deinstall +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -# a package removal script for monkeysphere (borrowing from -# monkeysphere's debian/monkeysphere.postrm) - -# Author: Daniel Kahn Gillmor -# Copyright 2008 - -# FIXME: is /var/lib/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 pw user show "${USER}" 2>/dev/null >/dev/null; then - echo "Warning: If you will *NOT* use this package anymore, please remove the monkeysphere user manually." - fi - if [ -d "$VARLIB" ] ; then - echo "Warning: You may want to remove monkeysphere's cached authentication data and keyrings in $VARLIB" - fi -;; -esac -- cgit v1.2.3