mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-17 21:09:13 +02:00
Correct code
This commit is contained in:
@@ -5,7 +5,6 @@ if bashio::config.has_value 'CONFIG_LOCATION'; then
|
|||||||
CONFIG_LOCATION="$(bashio::config 'CONFIG_LOCATION')"
|
CONFIG_LOCATION="$(bashio::config 'CONFIG_LOCATION')"
|
||||||
# Modify if it is a base directory
|
# Modify if it is a base directory
|
||||||
if [[ "$CONFIG_LOCATION" == *.* ]]; then CONFIG_LOCATION="$(dirname $CONFIG_LOCATION)"; fi
|
if [[ "$CONFIG_LOCATION" == *.* ]]; then CONFIG_LOCATION="$(dirname $CONFIG_LOCATION)"; fi
|
||||||
; fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION')
|
CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION')
|
||||||
|
|||||||
Reference in New Issue
Block a user