openbsd-ports/net/wget/pkg/DEINSTALL
marc 49383b9b53 o hide some pre- and post- install commands
o add an INSTALL script to install /etc/wgetrc if necessary
o remove wgetrc install code from Makefile and packing list
o call install script from Makefile
o patch wget doc Makefile so it does NOT install into /etc automagically
o add DEINSTALL script to remind user to get rid of /etc/wgetrc
THIS PORT IS NOW FROZEN FOR 2.5
1999-04-10 02:50:54 +00:00

25 lines
569 B
Plaintext

# $OpenBSD: DEINSTALL,v 1.1 1999/04/10 02:50:54 marc Exp $
#
# wget de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=/etc/wgetrc
if [ -f ${CONFIG_FILE} ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -f ${CONFIG_FILE}"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0