Introduce xbps_repo_get_pkg_plist() and use it in xbps-query -R.

This commit is contained in:
Juan RP
2013-06-14 10:22:10 +02:00
parent 2c03e1c9a8
commit 3abe48b68a
3 changed files with 32 additions and 2 deletions

View File

@@ -299,7 +299,7 @@ repo_show_pkg_info(struct xbps_handle *xhp,
((ipkgd = xbps_rpool_get_virtualpkg(xhp, pattern)) == NULL))
return errno;
if ((bpkgd = xbps_rpool_get_pkg_plist(xhp, pattern, "./props.plist")) == NULL)
if ((bpkgd = xbps_repo_get_pkg_plist(xhp, ipkgd, "./props.plist")) == NULL)
return errno;
prop_dictionary_set(bpkgd, "filename-sha256",