From 0b40a6fa856bee7b4cefd4e25bf14283707a6fe0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 29 Nov 2021 07:06:23 +0100 Subject: [PATCH] Update 90-config_yaml.sh --- paperless_ng/rootfs/etc/cont-init.d/90-config_yaml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperless_ng/rootfs/etc/cont-init.d/90-config_yaml.sh b/paperless_ng/rootfs/etc/cont-init.d/90-config_yaml.sh index 488aa236d..b839761fe 100644 --- a/paperless_ng/rootfs/etc/cont-init.d/90-config_yaml.sh +++ b/paperless_ng/rootfs/etc/cont-init.d/90-config_yaml.sh @@ -65,7 +65,7 @@ for word in $(parse_yaml "$CONFIGSOURCE" ""); do if [[ $word =~ ^.+[=].+$ ]]; then sed -i "1a export $word" /etc/services.d/*/run # Export the variable #sed -i "1a echo "... ENV exported : $word" /etc/services.d/*/run # Show text in colour - sed -i "1a echo \"\$(tput setaf 2)... ENV exported : $word\$(tput sgr0)\"" /etc/services.d/*/run # Show text in colour + sed -i "1a echo \"\$(tput setaf 2)... ENV exported : $word \$(tput sgr0)\"" /etc/services.d/*/run # Show text in colour bashio::log.blue "$word" else bashio::log.fatal "$word does not follow the structure KEY=text, it will be ignored and removed from the config"