[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pkg_info and $PKG_PATH



samedi, le 16 août, 2003, Ben Goren nous a dit ceci:

> On Sat, Aug 16, 2003 at 01:30:10AM -0600, Peter Valchev wrote:
> 
> > > I'm guessing that pkg_info should ignore $PKG_PATH.This is all
> > > on ...
> >
> > Why?   I don't  see why  it should  act different  than pkg_add,
> > etc., so  I think  the current  behaviour is  good, unless  I am
> > misunderstanding something here
> 
> First, pkg_info works on installed packages. Unless I'm mistraken,
> there's only one sane place  for the installed package information
> to live, and there's no sane way for that to be the same place you
> get the tarballs that you use to install the packages.

[ snip ]

No.  pkg_info quite happily shows information on uninstalled packages when
you give it the package tarball file name.  Getting information prior to
installing the package can be very useful.  Please don't break this.

Matt.
-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
				-- Richard P. Feynman