#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/07/04 15:22:34 lebel Exp $
#
# mixmaster de-installation

set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_DIR=${SYSCONFDIR}

if [ -d $CONFIG_DIR ]; then
    echo ""
    echo "+---------------"
    echo "| To completely deinstall the $1 package you need to perform"
    echo "| these steps as root:"
    echo "|"
    echo "|   rm -rf $CONFIG_DIR and/or"
    echo "|   rmuser mixmaster" 
    echo "|"
    echo "| You can also remove any crontab entries for 'mixmaster' by"
    echo "| executing as root" 
    echo "|"
    echo "|   crontab -u mixmaster -r"
    echo "+---------------"
    echo ""
fi

exit 0
