05a9d98ac1
o add DEINSTALL script to remind users to remove mailcap o call install script from Makefile o remove deinstall warning from packing list, now done by script THIS PORT IS NOW FROZEN
26 lines
651 B
Plaintext
26 lines
651 B
Plaintext
# $OpenBSD: DEINSTALL,v 1.1 1999/04/08 22:41:17 marc Exp $
|
|
#
|
|
# mm de-installation
|
|
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
MAILCAP=/etc/mailcap
|
|
|
|
if [ -f ${MAILCAP} ]; then
|
|
echo
|
|
echo "+---------------"
|
|
echo "| To completely deinstall the $1 package you need to perform"
|
|
echo "| this step as root:"
|
|
echo "|"
|
|
echo "| rm -rf ${MAILCAP}"
|
|
echo "|"
|
|
echo "| CAUTION: other packages may also use this file. Do not"
|
|
echo "| remove the file if you are not sure, or if you plan on"
|
|
echo "| re-installing $1 at some future time."
|
|
echo "+---------------"
|
|
echo
|
|
fi
|
|
|
|
exit 0
|