mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-27 16:24:17 +00:00
Fix Firefly III Data Importer boot failure: initialize JSON_CONFIGURATION_DIR before conditional
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
1 parent
251ce7a3c5
commit
aef08de244
1 file changed
+1
@@ -8,6 +8,7 @@ CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
||||
# CONFIG IMPORT #
|
||||
#################
|
||||
|
||||
JSON_CONFIGURATION_DIR=""
|
||||
if [ "$(ls -A "$CONFIGSOURCE/configurations")" ]; then
|
||||
bashio::log.info "Configurations were found in $CONFIGSOURCE/configurations, they will be loaded."
|
||||
JSON_CONFIGURATION_DIR="$CONFIGSOURCE/configurations"
|
||||
|
||||
Reference in new issue
Block a user