Introduce xbps_callback_array_iter_in_dict().
--HG-- extra : convert_revision : e0696de04df785d99ae1748a2d972a74e04c774f
This commit is contained in:
@@ -292,7 +292,8 @@ main(int argc, char **argv)
|
||||
usage();
|
||||
|
||||
dbdict = prop_dictionary_internalize_from_file(dbfile);
|
||||
xbps_list_pkgs_in_dict(dbdict, "packages_installed");
|
||||
xbps_callback_array_iter_in_dict(dbdict,
|
||||
"packages_installed", xbps_list_pkgs_in_dict);
|
||||
|
||||
} else if (strcmp(argv[1], "version") == 0) {
|
||||
/* Prints version of an installed package */
|
||||
|
||||
Reference in New Issue
Block a user