mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-20 15:51:50 +02:00
Update 99-run.sh
This commit is contained in:
@@ -6,7 +6,7 @@ CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
|||||||
# CONFIG IMPORT #
|
# 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."
|
bashio::log.info "Configurations were found in $CONFIGSOURCE/configurations, they will be loaded."
|
||||||
JSON_CONFIGURATION_DIR="$CONFIGSOURCE/configurations"
|
JSON_CONFIGURATION_DIR="$CONFIGSOURCE/configurations"
|
||||||
export JSON_CONFIGURATION_DIR
|
export JSON_CONFIGURATION_DIR
|
||||||
@@ -20,7 +20,7 @@ if bashio::config.has_value 'Updates'; then
|
|||||||
|
|
||||||
CONFIGSOURCE="$(dirname "${CONFIGSOURCE}/import_files")"
|
CONFIGSOURCE="$(dirname "${CONFIGSOURCE}/import_files")"
|
||||||
|
|
||||||
if [ "$(ls -A $CONFIGSOURCE)" ]; then
|
if [ "$(ls -A "$CONFIGSOURCE")" ]; then
|
||||||
# Align update with options
|
# Align update with options
|
||||||
echo ""
|
echo ""
|
||||||
FREQUENCY=$(bashio::config 'Updates')
|
FREQUENCY=$(bashio::config 'Updates')
|
||||||
|
|||||||
Reference in New Issue
Block a user