diff options
Diffstat (limited to 'emulators/netbsd32_compat14/INSTALL')
-rw-r--r-- | emulators/netbsd32_compat14/INSTALL | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/emulators/netbsd32_compat14/INSTALL b/emulators/netbsd32_compat14/INSTALL index 8906de8829d..2cd1fa2f9cd 100644 --- a/emulators/netbsd32_compat14/INSTALL +++ b/emulators/netbsd32_compat14/INSTALL @@ -1,13 +1,6 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/10/31 23:53:01 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 +# $NetBSD: INSTALL,v 1.2 2003/08/30 19:07:10 jlam Exp $ case ${STAGE} in -PRE-INSTALL) - ;; POST-INSTALL) MACHINE_ARCH=@MACHINE_ARCH@ OBJECT_FMT=@OBJECT_FMT@ @@ -33,7 +26,7 @@ POST-INSTALL) if [ -e /emul/$emul -o -L /emul/$emul ] || \ [ \( -e /emul -o -L /emul \) -a ! -d /emul ] then - cat <<EOF + ${CAT} <<EOF ============================================================================== IMPORTANT: You must create a symbolic link from /emul/$emul to ${PKG_PREFIX}/emul/$emul in order for this package to work @@ -43,8 +36,8 @@ POST-INSTALL) ============================================================================== EOF else - mkdir -p /emul - ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul + ${MKDIR} -p /emul + ${LN} -sf ${PKG_PREFIX}/emul/$emul /emul/$emul fi fi fi @@ -52,11 +45,6 @@ EOF # 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 |