From 23cce0dcf6a9a70f505d0b0ae0a9378a0090ec0f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 2 Mar 2025 14:34:01 +0100 Subject: [PATCH] Clean --- .templates/ha_entrypoint_modif.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.templates/ha_entrypoint_modif.sh b/.templates/ha_entrypoint_modif.sh index 205c5362a..15b724ec9 100755 --- a/.templates/ha_entrypoint_modif.sh +++ b/.templates/ha_entrypoint_modif.sh @@ -38,12 +38,6 @@ fi mkdir -p /run/s6/container_environment # Check if shebang exists -for shebang in "/command/with-contenv bashio" "/usr/bin/with-contenv bashio" "/usr/bin/env bashio" "/usr/bin/bashio" "/usr/bin/bash" "/usr/bin/sh" "/bin/bash" "/bin/sh"; do - if [ -f "${shebang%% *}" ] && [[ "${shebang%% *} echo \"yes\"" ]]; then - break - fi -done - for shebang in "/command/with-contenv bashio" "/usr/bin/with-contenv bashio" "/usr/bin/env 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