[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

@@ -146,7 +146,7 @@ class SoftwarePackage(ABC):
"""
:return: base cache path for the specific app type
"""
return CACHE_PATH + '/' + self.get_type()
return f'{CACHE_PATH}/{self.get_type()}'
def can_be_updated(self) -> bool:
"""