# $NetBSD: DEINSTALL,v 1.3 2005/01/23 04:36:27 jlam Exp $

WEBMIN_DIR="@WEBMIN_DIR@"
WEBMIN_ETCDIR="@WEBMIN_ETCDIR@"

case ${STAGE} in
DEINSTALL)
	uninstall="${WEBMIN_ETCDIR}/uninstall.sh"
	if [ -x "${uninstall}" ]; then
		${ECHO} "y" | ${uninstall}
	fi
	;;

POST-DEINSTALL)
	${RM} -rf ${WEBMIN_DIR}
	;;
esac