summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/blacklist.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/blacklist.sh b/src/lib/blacklist.sh
index ec34df1..79b79ce 100644
--- a/src/lib/blacklist.sh
+++ b/src/lib/blacklist.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+# make sure XDG_CACHE_HOME is set
+. /usr/share/libretools/conf.sh
+
blacklist-normalize() {
sed -e 's/^[^:]*$/&::/' -e 's/^[^:]*:[^:]*$/&:/'
}
@@ -14,7 +17,6 @@ blacklist-cat() {
blacklist-update() (
set -euE
- . /usr/share/libretools/conf.sh
. libremessages
load_files libretools
check_vars BLACKLIST