mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 00:01:36 +01: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 #
|
||||
#################
|
||||
|
||||
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