summaryrefslogtreecommitdiff
path: root/emulators/netbsd32_compat14/DEINSTALL
blob: 9e432e1c8c7838d3b4528ed6bb6e42a5b4885333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:07:10 jlam Exp $

case ${STAGE} in
POST-DEINSTALL)
	MACHINE_ARCH=@MACHINE_ARCH@
	COMPAT_LIBDIR=@COMPAT_LIBDIR@
	COMPAT_XLIBDIR=@COMPAT_XLIBDIR@

	${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 2>/dev/null || ${TRUE}

	# clean up the symlink
	${RM} -f /emul/aout

	# 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