From 10f439a97a297fab3eb71447848d7ad440f00c91 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 7 May 2023 09:34:18 +0200 Subject: [PATCH] NewLines in bashrc --- .templates/90-config_yaml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/90-config_yaml.sh b/.templates/90-config_yaml.sh index cb11faef9..aba672822 100755 --- a/.templates/90-config_yaml.sh +++ b/.templates/90-config_yaml.sh @@ -131,7 +131,7 @@ while IFS= read -r line; do sed -i "1a export $KEYS=\'$VALUE\'" /scripts/*run* 2>/dev/null || true # Export to 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 # Show in log if ! bashio::config.false "verbose"; then bashio::log.blue "$KEYS=\'$VALUE\'"; fi else