checked dependencies, made some optional, document optional dependencies
This commit is contained in:
@@ -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 ')
|
||||
|
||||
Reference in New Issue
Block a user