From 2a3e62b9a584854208192889dac78c8ba8b326cd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:52:41 +0200 Subject: [PATCH] Update 00-global_var.sh --- .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 42151a8b0..56f1caa31 100755 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -107,7 +107,7 @@ for KEYS in "${arr[@]}"; do echo "$line" >> /etc/environment # For non s6 if cat /etc/services.d/*/*run* &> /dev/null; then sed -i "1a export $line" /etc/services.d/*/*run* 2> /dev/null; fi - if cat /etc/cont-init.d/*run* &> /dev/null; then sed -i "1a export $line" /etc/cont-init.d/*run* 2> /dev/null; fi + if cat /etc/cont-init.d/*.sh &> /dev/null; then sed -i "1a export $line" /etc/cont-init.d/*.sh 2> /dev/null; fi # For s6 if [ -d /var/run/s6/container_environment ]; then printf "%s" "${VALUE}" > /var/run/s6/container_environment/"${KEYS}"; fi echo "export ${KEYS}='${VALUE}'" >> ~/.bashrc