27 lines
677 B
Bash
27 lines
677 B
Bash
#!/bin/sh
|
|
# $OpenBSD: DEINSTALL,v 1.3 2003/04/26 14:55:32 sturm Exp $
|
|
#
|
|
# metamail de-installation
|
|
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
MAILCAP=${SYSCONFDIR}/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
|