diff options
Diffstat (limited to 'emulators/netbsd32_compat14/DEINSTALL')
-rw-r--r-- | emulators/netbsd32_compat14/DEINSTALL | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/emulators/netbsd32_compat14/DEINSTALL b/emulators/netbsd32_compat14/DEINSTALL index 63c3ab1a552..9e432e1c8c7 100644 --- a/emulators/netbsd32_compat14/DEINSTALL +++ b/emulators/netbsd32_compat14/DEINSTALL @@ -1,31 +1,19 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1 2001/10/31 23:53:00 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:07:10 jlam Exp $ 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 + ${RMDIR} -p ${PKG_PREFIX}/${COMPAT_LIBDIR} ${PKG_PREFIX}/${COMPAT_XLIBDIR} 2>/dev/null || ${TRUE} # clean up the symlink - rm -f /emul/aout + ${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 + ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1 ;; esac -exit 0 |