mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: Move cache to /var/cache/kiss
This commit is contained in:
parent
357a2486a3
commit
ca05b8e875
4
kiss
4
kiss
@ -810,8 +810,8 @@ setup_caching() {
|
|||||||
# directories which need to exist and set variables for easy
|
# directories which need to exist and set variables for easy
|
||||||
# access to them.
|
# access to them.
|
||||||
|
|
||||||
# Main cache directory (~/.cache/kiss/) typically.
|
# Main cache directory.
|
||||||
mkdir -p "${cac_dir:=${XDG_CACHE_HOME:=$HOME/.cache}/kiss}" ||
|
mkdir -p "${cac_dir:=$KISS_ROOT/var/cache/kiss}" ||
|
||||||
die "Couldn't create cache directory ($cac_dir)."
|
die "Couldn't create cache directory ($cac_dir)."
|
||||||
|
|
||||||
# Build directory.
|
# Build directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user