From 7816985f229528b3f9cc14d0f81eaddce9ae8153 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 20 Mar 2026 14:32:44 +0100 Subject: [PATCH] Add GLOBAL_VAR_FILES to script injection loop --- .templates/00-global_var.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/00-global_var.sh b/.templates/00-global_var.sh index 5614d0608..ca6fee0e4 100755 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -234,7 +234,7 @@ cp "$ENV_FILE" "$ETC_ENV_FILE" ################################################################################ # Inject into scripts and shells (best-effort) ################################################################################ -for f in /etc/services.d/*/run /etc/cont-init.d/*.sh /entrypoint.sh /etc/bash.bashrc; do +for f in /etc/services.d/*/run /etc/cont-init.d/*.sh /entrypoint.sh /etc/bash.bashrc "${GLOBAL_VAR_FILES:-}"; do [[ -f "$f" ]] && inject_block "$f" done