ports and /var/db/pkg

Kris Kennaway kris at obsecurity.org
Wed Apr 2 13:11:52 PST 2003


On Wed, Apr 02, 2003 at 06:18:24PM +0300, Danny Braniss wrote:
> hi all,
> 	is there some 'easy' way to resync /var/db/pkg from /usr/local
> (after some rm's on it?), i guess i could write a script to would try and
> match the info in /var/db/pkg, and if it's not where it's supposed to be
> would remove the info, but if there is a command ...

Not really..you can go the other way though; see the example in
pkg_which(1).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030402/eeec7b92/attachment.bin


More information about the freebsd-hackers mailing list