]> git.ipfire.org Git - pakfire.git/commitdiff
repo: Fix path to delete repodata
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Jun 2021 12:35:39 +0000 (12:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Jun 2021 12:35:39 +0000 (12:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/repo.c

index 4c0ff6d36a4601e2e2d6e2c143d51a549075ae0f..ad3b8c50fcbb6db6b342aa1f030ff82bac08c49c 100644 (file)
@@ -820,7 +820,7 @@ PAKFIRE_EXPORT int pakfire_repo_clean(PakfireRepo repo) {
 
        // Destroy all files in the cache directory
        int r = pakfire_make_cache_path(repo->pakfire, cache_path,
-               "%s", pakfire_repo_get_name(repo));
+               "repodata/%s", pakfire_repo_get_name(repo));
        if (r < 0)
                return r;