openbsd-ports/mail/pine/pkg/DEINSTALL-pine
marc c4f888bae2 Even though the port is broken, fix sub-package generation
This allows, for example, pico to be installed using the format
    make NO_IGNORE=Yes SUBPACKAGE=-pico install
2000-10-05 18:01:49 +00:00

25 lines
585 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL-pine,v 1.1 2000/10/05 18:01:50 marc Exp $
#
# pine de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
if [ -f /etc/pine.conf -o -f /etc/pine.conf.fixed ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -rf /etc/pine.*"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0