From 4232149b887e4df2a39c0e8873dd1c290eab3aa7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 23 Nov 2023 18:13:16 +0100 Subject: [PATCH] Update 01-config_yaml.sh --- .templates/01-config_yaml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index bd6e23697..64ac4f8dc 100755 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -30,7 +30,7 @@ if bashio::config.has_value 'CONFIG_LOCATION'; then # Get config source CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION") # Check CONFIGSOURCE ends with config.yaml - if [ "$(basename "$CONFIGSOURCE")" != "*.yaml" ]; then + if [[ "$(basename "$CONFIGSOURCE")" != "*.yaml" ]]; then # Remove trailing slash and add config.yaml CONFIGSOURCE="${CONFIGSOURCE%/}"/config.yaml fi