Update 99-run.sh

This commit is contained in:
Alexandre
2022-02-05 19:35:36 +01:00
committed by GitHub
parent df18710161
commit a20fe89ff5

View File

@@ -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')