From 40d8d7e783a83dbf5bbc9365246224798d75ffd0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 7 May 2023 09:35:04 +0200 Subject: [PATCH] Newlines on bashrc --- .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 9cc746070..44c630057 100755 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -51,7 +51,7 @@ for KEYS in "${arr[@]}"; do if cat /etc/cont-init.d/*run* &>/dev/null; then sed -i "1a export $line" /etc/cont-init.d/*run* 2>/dev/null; fi # For s6 if [ -d /var/run/s6/container_environment ]; then printf "%s" "${VALUE}" > /var/run/s6/container_environment/"${KEYS}"; fi - printf "%s" "${KEYS}=\"${VALUE}\"" >> ~/.bashrc + printf "%s" "\n${KEYS}=\"${VALUE}\"" >> ~/.bashrc done