cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 501434661d9fb342d1d69674a7bcb1c41ebe60a6
parent 10628c4d028e86cb20bc605875bea92118c87cc6
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sun,  8 Sep 2019 15:34:14 +0300

kiss: move cache to XDG_CACHE_HOME

Diffstat:
Mkiss | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kiss b/kiss @@ -1051,7 +1051,7 @@ args() { ;; v|version|-v|--version) - printf 'kiss 0.11.3\n' + printf 'kiss 0.12.0\n' ;; h|help|-h|--help|'') @@ -1089,7 +1089,7 @@ main() { # Create the required temporary directories and set the variables # which point to them. - mkdir -p "${cac_dir:=$KISS_ROOT/var/cache/kiss}" \ + mkdir -p "${cac_dir:=$KISS_ROOT${XDG_CACHE_HOME:-$HOME/.cache}/kiss}" \ "${mak_dir:=$cac_dir/build-$pid}" \ "${pkg_dir:=$cac_dir/pkg-$pid}" \ "${tar_dir:=$cac_dir/extract-$pid}" \