# $NetBSD: DEINSTALL,v 1.2 2006/07/05 06:53:13 jlam Exp $

case "${STAGE}" in
DEINSTALL)
	LIST="${PKG_PREFIX}/share/tetrinetx/game.log"
	for to_trash in ${LIST}; do
		if ${TEST} -d "$to_trash"; then
			${RM} -fr $to_trash/*
		elif ${TEST} -f "$to_trash"; then
			${RM} -f $to_trash
		fi
	done
	;;
esac