From 1559a91d530f723bf72c1e7014170b3b0eea6cae Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 14 Nov 2022 22:48:23 +0100 Subject: [PATCH] Update 01-custom_script.sh --- .templates/01-custom_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index cb9ea5817..78bc5f448 100644 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -4,7 +4,7 @@ slug="${HOSTNAME#*-}" bashio::log.info "Execute if existing custom script /config/${slug}.sh" -if [ -f /config/${slug}.sh ]; then +if [ -f /config/"${slug}".sh ]; then chmod +x /config/"${slug}".sh /./config/"${slug}".sh else