xbps_dictionary_metadata_plist_by_url: only accept exact matches.

This commit is contained in:
Juan RP
2012-06-05 20:53:15 +02:00
parent a0f91f3342
commit efefa000b2
5 changed files with 6 additions and 5 deletions

View File

@@ -232,7 +232,8 @@ main(int argc, char **argv)
if (argc != 2)
usage(true);
pkgd = xbps_rpool_dictionary_metadata_plist(argv[1], XBPS_PKGFILES);
pkgd = xbps_rpool_dictionary_metadata_plist(argv[1],
"./files.plist");
if (pkgd == NULL) {
if (errno == ENOTSUP) {
xbps_error_printf("xbps-repo: no repositories "