mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: move cache to XDG_CACHE_HOME
This commit is contained in:
parent
10628c4d02
commit
501434661d
4
kiss
4
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}" \
|
||||
|
Loading…
Reference in New Issue
Block a user