Files
podman/libpod
Ed Santiago ecf1033023 podman info: try qfile before equery
podman info takes >20s on Gentoo, because equery is s..l..o..w.
qfile is much faster and, I suspect, present in most Gentoo
installations, so let's try it first.

And, because packageVersion() was scarily unmaintainable,
refactor it. Define a simple (string) list of packaging tools
to query (rpm, dpkg, ...) and iterate until we find one that
works.

IMPORTANT NOTE: the Debian (and, presumably, Ubuntu) query does not
include version number! There is no standard way on Debian to get
a package version from a file path, you can only do it via pipes
of chained commands, and I have no desire to implement that.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-08-03 14:54:06 -06:00
..
2021-07-15 10:34:09 -04:00
2021-02-22 09:03:51 +01:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-04-21 13:16:33 -04:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-07-16 14:19:56 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-06-25 09:56:21 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-06-16 16:43:30 +02:00
2021-07-15 21:27:51 -03:00
2021-07-15 10:34:09 -04:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-07-15 21:27:51 -03:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-06-23 09:23:40 -04:00
2021-03-08 09:22:42 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-08-03 14:54:06 -06:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00