3 EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"
7 # Run any actions that require root privileges.
8 ${TEST} ! -x ./+ROOT_ACTIONS ||
9 ./+ROOT_ACTIONS REMOVE ${PKG_METADATA_DIR} || exit 1
11 # Blow away the /proc directory
12 ${RM} -fr ${EMULDIR}/proc
14 # Remove a stray symlink that would normally be managed by
17 ${RM} -f ${EMULDIR}/usr/@LINUX_LIBSUBDIR@/libz.so.1
19 # Remove some files created by pkgsrc.
20 ${RM} -f ${EMULDIR}/etc/ld.so.cache
21 ${RM} -f ${EMULDIR}/etc/mtab
22 ${RM} -f ${EMULDIR}/etc/group
23 ${RM} -f ${EMULDIR}/etc/gshadow
24 ${RM} -f ${EMULDIR}/etc/passwd
25 ${RM} -f ${EMULDIR}/etc/shadow