summaryrefslogtreecommitdiff
path: root/emulators/osf1_lib/DEINSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/osf1_lib/DEINSTALL')
-rw-r--r--emulators/osf1_lib/DEINSTALL14
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/osf1_lib/DEINSTALL b/emulators/osf1_lib/DEINSTALL
new file mode 100644
index 00000000000..2871a2687b7
--- /dev/null
+++ b/emulators/osf1_lib/DEINSTALL
@@ -0,0 +1,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