]> git.ipfire.org Git - pakfire.git/commitdiff
pakfire: Include local repo name in path
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 22:54:47 +0000 (22:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 22:54:47 +0000 (22:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/pakfire.c

index 453b7abeb595283efd50a6f22aa16f11f9bda083..58135e968959fcb86180be69bf18ec9b7f1f0e10 100644 (file)
@@ -569,7 +569,7 @@ static int pakfire_setup_local_repo(struct pakfire* self) {
 
        // Make the repository path
        r = pakfire_string_format(path,
-                       "~/.local/share/%s/%s/%s", PACKAGE_NAME, distro_id, version_id);
+                       "~/.local/share/%s/local/%s/%s", PACKAGE_NAME, distro_id, version_id);
        if (r < 0) {
                ERROR(self->ctx, "Could not compose the local repository path: %s\n", strerror(-r));
                goto ERROR;