Use XDG_CACHE_HOME to control cache dir

This commit is contained in:
Einar Forselv
2019-12-04 23:49:32 +01:00
parent 4e480ed8e0
commit 38c59b2436
3 changed files with 3 additions and 4 deletions

View File

@@ -97,8 +97,6 @@ def restic(repository: str, args: List[str]):
"""Generate restic command"""
return [
"restic",
"--cache-dir",
"/restic_cache",
"-r",
repository,
] + args