Sunday, November 01, 2020

pkg_add version scripting ?

Hi

As far as I can tell from the docs, only pkg_info supports spec style ?

I am trying to script an OpenBSD setup and as part of that certain packages need to be installed. For most packages that is not a problem, however, for example, with gnupg, there are two versions in the 6.8 repo :
gnupg-1.4.23p4.tgz
gnupg-2.2.23p0.tgz

I cannot seem to find a way to tell pkg_add to install >=2  (or better still, install "the latest" version).

Any ideas ?

Laura

No comments:

Post a Comment