pkgsrc/emulators/osf1_lib/DEINSTALL
2007-08-01 17:19:22 +00:00

14 lines
339 B
Text

# $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