From f3a23d6abe4b3efee70307c7932f5775fc29fba8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 1 Aug 2025 17:01:14 +0200 Subject: [PATCH] Update ha_entrypoint_modif.sh --- .templates/ha_entrypoint_modif.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/ha_entrypoint_modif.sh b/.templates/ha_entrypoint_modif.sh index 288420f31..d12a77944 100755 --- a/.templates/ha_entrypoint_modif.sh +++ b/.templates/ha_entrypoint_modif.sh @@ -38,7 +38,7 @@ fi mkdir -p /run/s6/container_environment # Check if shebang exists -for shebang in "/usr/bin/env bashio" "/command/with-contenv bashio" "/usr/bin/with-contenv bashio" "/usr/bin/bashio" "/usr/bin/bash" "/usr/bin/sh" "/bin/bash" "/bin/sh"; do +for shebang in "/command/with-contenv bashio" "/usr/bin/env bashio" "/usr/bin/with-contenv bashio" "/usr/bin/bashio" "/usr/bin/bash" "/usr/bin/sh" "/bin/bash" "/bin/sh"; do command_path="${shebang%% *}" if [ -x "$command_path" ] && "$command_path" echo "yes" > /dev/null 2>&1; then echo "Valid shebang: $shebang"