xbps-query: fix regression in -R, also print repository string object.
This commit is contained in:
parent
7941b225fb
commit
6358cf43fc
@ -302,6 +302,8 @@ repo_show_pkg_info(struct xbps_handle *xhp,
|
|||||||
if ((bpkgd = xbps_repo_get_pkg_plist(xhp, ipkgd, "./props.plist")) == NULL)
|
if ((bpkgd = xbps_repo_get_pkg_plist(xhp, ipkgd, "./props.plist")) == NULL)
|
||||||
return errno;
|
return errno;
|
||||||
|
|
||||||
|
xbps_dictionary_set(bpkgd, "repository",
|
||||||
|
xbps_dictionary_get(ipkgd, "repository"));
|
||||||
xbps_dictionary_set(bpkgd, "filename-sha256",
|
xbps_dictionary_set(bpkgd, "filename-sha256",
|
||||||
xbps_dictionary_get(ipkgd, "filename-sha256"));
|
xbps_dictionary_get(ipkgd, "filename-sha256"));
|
||||||
xbps_dictionary_set(bpkgd, "filename-size",
|
xbps_dictionary_set(bpkgd, "filename-size",
|
||||||
|
Loading…
Reference in New Issue
Block a user