blob: 63c3ab1a552e1662cce41d3ee9680161ba9cb4b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.1 2001/10/31 23:53:00 zuntum Exp $
PKGNAME=$1
STAGE=$2
case ${STAGE} in
DEINSTALL)
;;
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
;;
*)
echo "Unexpected argument: ${STAGE}"
exit 1
;;
esac
exit 0
|