Added the concept of package properties in the API.

See the NEWS file and xbps-bin(8) for more information.
This commit is contained in:
Juan RP
2011-02-05 11:25:04 +01:00
parent d25bc35711
commit de296d8192
12 changed files with 820 additions and 212 deletions

View File

@@ -216,7 +216,8 @@ main(int argc, char **argv)
if (argc != 2)
usage();
dict = xbps_find_pkg_dict_from_plist_by_name(plist, argv[1]);
dict = xbps_find_pkg_dict_from_plist_by_name(plist,
"packages", argv[1]);
if (dict == NULL)
exit(EXIT_FAILURE);