#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.4 2003/09/28 17:00:11 naddy Exp $
#
# Pre/post-uninstallation setup of enscript

set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=/etc/enscript.cfg

if [ "$PKG_DELETE_EXTRA" != Yes -a -f ${CONFIG_FILE} ]; then
	echo
	echo "+---------------"
	echo "| To completely deinstall the enscript package you need to perform"
	echo "| this step as root:"
	echo "|"
	echo "|           rm -f ${CONFIG_FILE}"
	echo "+---------------"
	echo
fi

exit 0
