From: Michael Tremer Date: Mon, 19 Apr 2021 14:59:18 +0000 (+0000) Subject: Add architecture to cache path X-Git-Tag: 0.9.28~1285^2~328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fbcbbad00c59584d951d458e13008deededf4c5;p=pakfire.git Add architecture to cache path Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/pakfire.c b/src/libpakfire/pakfire.c index ffa23ee56..7a57c5d1e 100644 --- a/src/libpakfire/pakfire.c +++ b/src/libpakfire/pakfire.c @@ -715,8 +715,8 @@ PAKFIRE_EXPORT int pakfire_create( DEBUG(p, " slogan = %s\n", p->distro.slogan); // Set cache path - pakfire_string_format(p->cache_path, "%s/%s/%s", - PAKFIRE_CACHE_PATH, p->distro.id, p->distro.version_id); + pakfire_string_format(p->cache_path, "%s/%s/%s/%s", + PAKFIRE_CACHE_PATH, p->distro.id, p->distro.version_id, p->arch); // Mount filesystems r = pakfire_mount(p);