Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 13:11:50 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        hackers@freebsd.org
Subject:   Re: ports and /var/db/pkg
Message-ID:  <20030402211150.GA10348@rot13.obsecurity.org>
In-Reply-To: <E190k0O-00017R-00@cs.huji.ac.il>
References:  <E190k0O-00017R-00@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--/04w6evG8XlLl3ft
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+i1IWWry0BWjoQKURAivoAKC3MKbsSEkRtmDMhno8aiTkl8sllgCg8rgC
FFuo2hNT8uNRLKcnOTrI2oo=
=a9eP
-----END PGP SIGNATURE-----

--/04w6evG8XlLl3ft--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030402211150.GA10348>