]> git.ipfire.org Git - pakfire.git/commitdiff
repo: Store/search for repomd.json in the repository's root
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Feb 2025 15:06:11 +0000 (15:06 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Feb 2025 15:06:11 +0000 (15:06 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/repo.c

index 7ccdffa9e541cef2b00ad709b2de6c6895c16368..ac0bbc0f4b85b4d419fcd7db2b51457e52553abc 100644 (file)
@@ -2207,7 +2207,7 @@ int pakfire_repo_refresh(struct pakfire_repo* repo, int force) {
        }
 
        // Make the metadata path
-       r = pakfire_repo_path(repo, path, "%s", "repodata/repomd.json");
+       r = pakfire_repo_path(repo, path, "%s", "repomd.json");
        if (r)
                return r;