diff options
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r-- | pkgtools/pkg_install/INSTALL | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/INSTALL b/pkgtools/pkg_install/INSTALL index 13dccce1803..e63ed494699 100644 --- a/pkgtools/pkg_install/INSTALL +++ b/pkgtools/pkg_install/INSTALL @@ -1,12 +1,11 @@ #!/bin/sh # -# $NetBSD: INSTALL,v 1.2 2005/11/07 06:52:24 jlam Exp $ +# $NetBSD: INSTALL,v 1.3 2008/04/02 13:23:31 jlam Exp $ PKGNAME="$1" STAGE="$2" PKG_DBDIR="@PKG_DBDIR@" -PKG_TOOLS_BIN="@PKG_TOOLS_BIN@" MKDIR="@MKDIR@" case ${STAGE} in @@ -15,6 +14,6 @@ PRE-INSTALL) ;; POST-INSTALL) - [ -f ${PKG_DBDIR}/pkgdb.byfile.db ] || ${PKG_TOOLS_BIN}/pkg_admin rebuild + [ -f ${PKG_DBDIR}/pkgdb.byfile.db ] || ${PKG_PREFIX}/sbin/pkg_admin rebuild ;; esac |