openbsd-ports/sysutils/idled/pkg/DEINSTALL
pvalchev 1938fbc4fc Bring this into the XXI century:
* Place the sample config file in ${SYSCONFDIR} and make that the default
path (instead of lib/)
* Correct path to template file - share/examples
* Use INSTALL/DEINSTALL scripts to place the config file and print the
appropriate warnings instead of messing with @exec/@unexec in PLIST
* Don't mess with permissions in the install target, use BSD_INSTALL* macros
* Rename patch, make -> ${MAKE_PROGRAM}
* Run DESCR through fmt(1)
work by me and naddy@
2001-06-14 03:18:27 +00:00

25 lines
581 B
Plaintext

# $OpenBSD: DEINSTALL,v 1.1 2001/06/14 03:18:29 pvalchev Exp $
#
# idled de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/idled.cf
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