On Mon, 8 Jun 2020 at 11:31, Stuart Henderson <s...@spacehopper.org> wrote:
>
> On 2020-06-08, Ottavio Caruso <ottavio2006-usenet2...@yahoo.com> wrote:
> > I probably didn't make myself clear and I apologize. I'd like to have
> > a list of files for just one package, and only if that package has
> > been installed. If not installed, it should tell me it hasn't been
> > installed or just provide no output, a bit like pkg_info behaves on
> > NetBSD.
>
> pkg_* tools use /etc/installurl if present. This can be overridden by
> setting PKG_PATH in the environment:
>
> $ env PKG_PATH= pkg_info -f somepkg

Thanks for the hint. Actually:

$ env PKG_PATH= pkg_info -L somepkg

(-L instead of -f) does the job for me.


-- 
Ottavio Caruso

Reply via email to