openbsd-ports/shells/zsh/pkg/DEINSTALL
brad c72c618168 move post-installation notice from Makefile to separate INSTALL script so
it is displayed when this port is made into a package.
1999-10-07 19:49:50 +00:00

22 lines
475 B
Plaintext

# $OpenBSD: DEINSTALL,v 1.1 1999/10/07 19:49:51 brad Exp $
#
# zsh de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
if grep -q ${PREFIX}/bin/zsh /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/zsh"
echo "|"
echo "+---------------"
echo
fi
exit 0