From ca05b8e875813bddbdd5a6b155c73434c51714ba Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 21 Jul 2019 13:02:48 +0300 Subject: [PATCH] kiss: Move cache to /var/cache/kiss --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 6612721..9df9c19 100755 --- 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.