newer releases of dpkg-query does not have PackageSpec
This commit is contained in:
@@ -291,7 +291,7 @@ METHOD(os_info_t, create_package_enumerator, enumerator_t*,
|
|||||||
{
|
{
|
||||||
FILE *file;
|
FILE *file;
|
||||||
const char command[] = "dpkg-query --show --showformat="
|
const char command[] = "dpkg-query --show --showformat="
|
||||||
"'${Status}\t${PackageSpec}\t${Version}\n'";
|
"'${Status}\t${Package}\t${Version}\n'";
|
||||||
package_enumerator_t *enumerator;
|
package_enumerator_t *enumerator;
|
||||||
|
|
||||||
/* Only Debian and Ubuntu package enumeration is currently supported */
|
/* Only Debian and Ubuntu package enumeration is currently supported */
|
||||||
|
|||||||
Reference in New Issue
Block a user