openbsd-ports/mail/sma/pkg/DEINSTALL
grange 5ca92a71dc Initial import of sma from Jim Geovedi <jim@corebsd.or.id>.
SMA is a program that analyses mail log files and produces a nice
summary of mail activity. It works by taking its input from files
or standard input and outputting the results to standard output or
file. All error messages and debugging information are printed to
standard error.

WWW: http://www.klake.org/sma/

ok couderc@
2002-12-11 15:34:55 +00:00

26 lines
558 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/12/11 15:34:55 grange Exp $
#
# sma de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/sma.conf
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