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


Reply via email to