mirror of
https://github.com/containers/podman.git
synced 2025-07-03 09:17:15 +08:00
libpod: Add FreeBSD support in packageVersion
This reports the correct package versions in 'podman info' for conmon and ociRuntime on FreeBSD which is needed for the 005-info system test. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
@ -176,6 +176,7 @@ func packageVersion(program string) string { // program is full path
|
||||
{"/usr/bin/qfile", "-qv"}, // Gentoo (quick)
|
||||
{"/usr/bin/equery", "b"}, // Gentoo (slow)
|
||||
{"/sbin/apk", "info", "-W"}, // Alpine
|
||||
{"/usr/local/sbin/pkg", "which", "-q"}, // FreeBSD
|
||||
}
|
||||
|
||||
for _, cmd := range packagers {
|
||||
|
Reference in New Issue
Block a user