mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user