Subject: pkgtools/pkg_install PLIST to use ${PKG_TOOLS_BIN} for pkg_admin
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 09/04/2003 14:21:54
The PLIST for pkgtools/pkg_install has:

@exec [ -f ${PKG_DBDIR:-/var/db/pkg}/pkgdb.byfile.db ] || pkg_admin rebuild

Can this be changed to use:

@exec [ -f ${PKG_DBDIR:-/var/db/pkg}/pkgdb.byfile.db ] || ${PKG_TOOLS_BIN}/pkg_a
dmin rebuild

Or better yet, should it be like ...

${PKG_TOOLS_BIN}/pkg_admin -K ${PKG_DBDIR:-/var/db/pkg} rebuild


And Makefile have:

Also, what if PKG_TOOLS_BIN is different than ${LOCALBASE}/sbin ...
shouldn't the pkg_install package install to PKG_TOOLS_BIN ??

   Jeremy C. Reed