openbsd-ports/mail/metamail/pkg/DEINSTALL
2000-07-19 09:31:17 +00:00

27 lines
667 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2000/07/19 09:31:20 brad Exp $
#
# metamail 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