openbsd-ports/security/cfs/pkg/DEINSTALL
sturm 47b40eba3b update to cfs 1.4.1
CFS was actually broken since at least 3.2 or so, but should work now
again on 32-bit archs. 64-bit archs are still broken and won't be
fixed anytime soon.

I also set PERMIT_*=Yes, as the "no fee" part of the license is clearly
due to bad english.

xsa@ helped testing
2004-06-15 18:32:22 +00:00

27 lines
650 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1 2004/06/15 18:32:22 sturm Exp $
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CRYPT=/crypt
NULL=/null
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| these steps as root:"
echo "|"
echo "| revert changes to /etc/exports and /etc/rc.conf"
if [ "$PKG_DELETE_EXTRA" != Yes ]; then
echo "| umount $CRYPT"
echo "| rm -r $CRYPT"
echo "| rm -r $NULL"
fi
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
exit 0