xbps_repo_fetch_remote: use XBPS_REPOIDX_META.

This commit is contained in:
Juan RP 2020-01-06 15:09:16 +01:00
parent 0abfe44954
commit 615b6ce7e9
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -196,7 +196,7 @@ xbps_repo_fetch_remote(struct xbps_repo *repo, const char *url)
if (bfile[0] == '.') if (bfile[0] == '.')
bfile++; /* skip first dot */ bfile++; /* skip first dot */
if (strcmp(bfile, "index-meta.plist") == 0) { if (strcmp(bfile, XBPS_REPOIDX_META) == 0) {
buf = xbps_archive_get_file(a, entry); buf = xbps_archive_get_file(a, entry);
repo->idxmeta = xbps_dictionary_internalize(buf); repo->idxmeta = xbps_dictionary_internalize(buf);
free(buf); free(buf);