cvs commit: ports/security/vxquery Makefile
ports/security/vxquery/files pkg_check.sh
Oliver Eikemeier
eikemeier at fillmore-labs.com
Tue Aug 17 10:29:49 PDT 2004
Mikhail Teterin wrote:
> [...] Use sh(1)'s `echo *'
> instead of spawning off ls(1) in pkg_check.sh.
FWIIW, I would suggest using pkg_info -Ia | awk '{print $1}' to get a
list of all installed ports. The data in /var/db/pkg is private to the
package tools, and while it is unlikely that the format will change soon
(since some important tools would break) nobody guarantees that this
works. At least portupgrade puts `pkgdb.db' in this directory, which is
no package.
OTOH you can continue to use that method, since it is fast and usually
works, I just wanted to notify you that it is unsupported (and might
break in the future).
-Oliver
More information about the cvs-ports
mailing list