From a20fe89ff50b074fd5db44aa6acccef599bed5b9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 5 Feb 2022 19:35:36 +0100 Subject: [PATCH] Update 99-run.sh --- fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh b/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh index 5064e5559..d80f6383f 100644 --- a/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh +++ b/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh @@ -6,7 +6,7 @@ CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION") # CONFIG IMPORT # ################# -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." JSON_CONFIGURATION_DIR="$CONFIGSOURCE/configurations" export JSON_CONFIGURATION_DIR @@ -20,7 +20,7 @@ if bashio::config.has_value 'Updates'; then CONFIGSOURCE="$(dirname "${CONFIGSOURCE}/import_files")" - if [ "$(ls -A $CONFIGSOURCE)" ]; then + if [ "$(ls -A "$CONFIGSOURCE")" ]; then # Align update with options echo "" FREQUENCY=$(bashio::config 'Updates')