openbsd-ports/shells/tcsh/pkg/DEINSTALL
marc 647c76734b o add INSTALL and DEINSTALL script
o call INSTALL script from post-install rule in Makefile
o remove duplicate messages from Makefile and packing list
THIS PORT IS NOW FROZEN
1999-04-08 15:53:29 +00:00

22 lines
478 B
Plaintext

# $OpenBSD: DEINSTALL,v 1.1 1999/04/08 15:53:29 marc Exp $
#
# tcsh de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
if grep -q ${PREFIX}/bin/tcsh /etc/shells; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to edit"
echo "| /etc/shells and remove this line:"
echo "|"
echo "| ${PREFIX}/bin/tcsh"
echo "|"
echo "+---------------"
echo
fi
exit 0