Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / emulators / suse100_base / DEINSTALL
blob94d0abf3755adb72907f0528c1ceb7f841e3e4e6
1 # $NetBSD$
3 EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"
5 case "${STAGE}" in
6 DEINSTALL)
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
15         # ldconfig(8).
16         #
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
26         ;;
27 esac