Correct code

This commit is contained in:
Alexandre
2023-02-05 07:17:38 +01:00
parent 1469320664
commit 12020e7ecb

View File

@@ -5,7 +5,6 @@ if bashio::config.has_value 'CONFIG_LOCATION'; then
CONFIG_LOCATION="$(bashio::config 'CONFIG_LOCATION')"
# Modify if it is a base directory
if [[ "$CONFIG_LOCATION" == *.* ]]; then CONFIG_LOCATION="$(dirname $CONFIG_LOCATION)"; fi
; fi
fi
CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION')