Repository package index format 1.2.

The pkg index now stores all package objects from props.plist, so that
xbps-repo(8) doesn't have to access the target binpkg anymore.
This commit is contained in:
Juan RP
2011-05-27 17:32:42 +02:00
parent 604b315cfa
commit cfa637db48
8 changed files with 53 additions and 124 deletions

View File

@ -47,7 +47,7 @@ show_pkg_info_from_metadir(const char *pkgname)
pkgpropsd = xbps_find_pkg_in_dict_by_name(regpkgd,
"properties", pkgname);
if (pkgpropsd == NULL) {
show_pkg_info(d, false);
show_pkg_info(d);
prop_object_release(d);
goto out;
}
@ -58,7 +58,7 @@ show_pkg_info_from_metadir(const char *pkgname)
if (prop_dictionary_get(pkgpropsd, "provides"))
prop_dictionary_set_bool(d, "virtual-prefer", true);
show_pkg_info(d, false);
show_pkg_info(d);
prop_object_release(d);
out:
xbps_regpkgdb_dictionary_release();