From: Michael Tremer Date: Tue, 22 Feb 2011 16:52:10 +0000 (+0100) Subject: Add distribution release to cache path for repositories. X-Git-Tag: 0.9.3~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21f914fb6ea4b784d797170ebc9f68a7308cf771;p=pakfire.git Add distribution release to cache path for repositories. --- diff --git a/pakfire/repository.py b/pakfire/repository.py index 9b04a2d5e..f92b28b30 100644 --- a/pakfire/repository.py +++ b/pakfire/repository.py @@ -360,7 +360,8 @@ class RepositoryCache(object): @property def path(self): - return os.path.join(REPO_CACHE_DIR, self.repo.name, self.repo.arch) + return os.path.join(REPO_CACHE_DIR, self.pakfire.distro.release, \ + self.repo.name, self.repo.arch) def abspath(self, path): return os.path.join(self.path, path)