From 615b6ce7e9a4e50ac274331d0effd4b7176cf4e3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 6 Jan 2020 15:09:16 +0100 Subject: [PATCH] xbps_repo_fetch_remote: use XBPS_REPOIDX_META. --- lib/plist_fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plist_fetch.c b/lib/plist_fetch.c index 18c7308b..427fc7bb 100644 --- a/lib/plist_fetch.c +++ b/lib/plist_fetch.c @@ -196,7 +196,7 @@ xbps_repo_fetch_remote(struct xbps_repo *repo, const char *url) if (bfile[0] == '.') 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); repo->idxmeta = xbps_dictionary_internalize(buf); free(buf);