summaryrefslogtreecommitdiff
path: root/emulators/osf1_lib/DEINSTALL
blob: 2871a2687b7b0f9bfbaef9fc58d2220609d85c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: DEINSTALL,v 1.1 2007/08/01 17:19:22 jlam Exp $

EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"

case "${STAGE}" in
DEINSTALL)
	${RM} -fr ${EMULDIR}/usr/lib/X11
	${RM} -f ${EMULDIR}/etc/hosts

	# Run any actions that require root privileges.
	${TEST} ! -x ./+ROOT_ACTIONS ||
		./+ROOT_ACTIONS REMOVE ${PKG_METADATA_DIR} || exit 1
	;;
esac