mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 09:41:50 +02: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:
@@ -8,6 +8,7 @@ CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
|||||||
# CONFIG IMPORT #
|
# CONFIG IMPORT #
|
||||||
#################
|
#################
|
||||||
|
|
||||||
|
JSON_CONFIGURATION_DIR=""
|
||||||
if [ "$(ls -A "$CONFIGSOURCE/configurations")" ]; then
|
if [ "$(ls -A "$CONFIGSOURCE/configurations")" ]; then
|
||||||
bashio::log.info "Configurations were found in $CONFIGSOURCE/configurations, they will be loaded."
|
bashio::log.info "Configurations were found in $CONFIGSOURCE/configurations, they will be loaded."
|
||||||
JSON_CONFIGURATION_DIR="$CONFIGSOURCE/configurations"
|
JSON_CONFIGURATION_DIR="$CONFIGSOURCE/configurations"
|
||||||
|
|||||||
Reference in New Issue
Block a user