pkgsrc/emulators/netbsd32_compat16/DEINSTALL
2003-08-30 19:07:10 +00:00

18 lines
447 B
Text

# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:11:57 jlam Exp $
case ${STAGE} in
POST-DEINSTALL)
MACHINE_ARCH=@MACHINE_ARCH@
COMPAT_EMULSUBDIR=@COMPAT_EMULSUBDIR@
${RMDIR} -p ${PKG_PREFIX}/${COMPAT_EMULSUBDIR} 2>/dev/null || ${TRUE}
# clean up the symlink
${RM} -f /emul/netbsd32
# Regenerate the shared library cache. This should work on either
# a.out or on ELF with the 1.5 release.
#
( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1
;;
esac