diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2023-12-20 02:04:09 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2023-12-20 02:04:09 -0500 |
commit | 3dec31eccb137c90b0f6a28e8c44f6ad67628293 (patch) | |
tree | 8b1737743af498d49eec8e8366169d37f5d3a354 | |
parent | 93cd11baa8045760501c96f95d246a9a0e18a375 (diff) |
-rw-r--r-- | src/lib/blacklist.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/blacklist.sh b/src/lib/blacklist.sh index edea28d..dd65e77 100644 --- a/src/lib/blacklist.sh +++ b/src/lib/blacklist.sh @@ -27,6 +27,9 @@ source "$(librelib conf)" ## constants ## # CACHE_DIR allows running (eg: `db-import`) via CLI (eg: manually as 'repo') +# NOTE: normally, conf.sh (librelib conf) sets XDG_CACHE_HOME for this purpose +# but may behaves unexpectedly, eg: if $LIBREUSER is unset +# ie: perhaps $CACHE_DIR can be replaced with that advice readonly CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}" readonly BLACKLIST_CACHED="$CACHE_DIR/libretools/blacklist.txt" readonly PACKAGE_BLACKLIST=/usr/share/doc/your-freedom/blacklist.txt |