[api] refactoring: caching directory for root user is now /var/cache/bauh

This commit is contained in:
Vinicius Moreira
2021-11-24 10:34:04 -03:00
parent f78498c1ec
commit aa889dcd51
18 changed files with 49 additions and 42 deletions

View File

@@ -85,7 +85,7 @@ class ArchPackage(SoftwarePackage):
@staticmethod
def disk_cache_path(pkgname: str):
return ARCH_CACHE_PATH + '/installed/' + pkgname
return f'{ARCH_CACHE_PATH}/installed/{pkgname}'
def get_pkg_build_url(self):
if self.package_base: