checked dependencies, made some optional, document optional dependencies

This commit is contained in:
fatalerrors
2026-06-02 17:49:16 +02:00
parent f0c62a5e7f
commit 462efef034
5 changed files with 78 additions and 13 deletions

View File

@@ -244,7 +244,10 @@ parse_conf()
# Correctly interpretet internal variables (e.g. $HOME)
if [[ "$value" == *\$* ]]; then
value=$(envsubst <<< "$value")
if command -v envsubst >/dev/null 2>&1; then
value=$(envsubst <<< "$value")
fi
# If envsubst is unavailable, $VAR references are left as-is.
fi
# Strip quotes (handling both " and ')