2013-09-26 17:14:40 +02:00

15 lines
339 B
Plaintext

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