From 6358cf43fc3d9ba8d9f9ac98078dd7b8f70fe31c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 7 Jul 2013 09:59:25 +0200 Subject: [PATCH] xbps-query: fix regression in -R, also print repository string object. --- bin/xbps-query/show-info-files.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/xbps-query/show-info-files.c b/bin/xbps-query/show-info-files.c index 244db86c..4c09fbf6 100644 --- a/bin/xbps-query/show-info-files.c +++ b/bin/xbps-query/show-info-files.c @@ -302,6 +302,8 @@ repo_show_pkg_info(struct xbps_handle *xhp, if ((bpkgd = xbps_repo_get_pkg_plist(xhp, ipkgd, "./props.plist")) == NULL) return errno; + xbps_dictionary_set(bpkgd, "repository", + xbps_dictionary_get(ipkgd, "repository")); xbps_dictionary_set(bpkgd, "filename-sha256", xbps_dictionary_get(ipkgd, "filename-sha256")); xbps_dictionary_set(bpkgd, "filename-size",