1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 16:40:07 -07:00

kiss: move cache to XDG_CACHE_HOME

This commit is contained in:
Dylan Araps 2019-09-08 15:34:14 +03:00
parent 10628c4d02
commit 501434661d

4
kiss
View File

@ -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}" \