tech-pkg archive

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

Re: pkg_info foo tries to read ./foo



On Tue, Jul 04, 2017 at 07:22:57PM +0200, Edgar Fuß wrote:
> > What would you suggest to find out (in a script) what the installed version 
> > of eg., postfix, is?
> Oops, apparently I'm already using pkg_info -e for that.
> But there's another part where I need to find out the options that package 
> was built with and pkg_info -Q PKG_OPTIONS postfix fails.

Right, make it an explicit pattern, consider:

    mkdir /tmp/t
    cd /tmp/t
    touch 'digest-*'
    pkg_info -Q PKGPATH 'digest-*'

Joerg


Home | Main Index | Thread Index | Old Index