commit ca05b8e875813bddbdd5a6b155c73434c51714ba
parent 357a2486a3fb1584484f815f65b2908adddf1cf0
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Sun, 21 Jul 2019 13:02:48 +0300
kiss: Move cache to /var/cache/kiss
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kiss b/kiss
@@ -810,8 +810,8 @@ setup_caching() {
# directories which need to exist and set variables for easy
# access to them.
- # Main cache directory (~/.cache/kiss/) typically.
- mkdir -p "${cac_dir:=${XDG_CACHE_HOME:=$HOME/.cache}/kiss}" ||
+ # Main cache directory.
+ mkdir -p "${cac_dir:=$KISS_ROOT/var/cache/kiss}" ||
die "Couldn't create cache directory ($cac_dir)."
# Build directory.