From 1e01a0ca52f71b9aa0b348b7c2ddbfca1da5ff5a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 28 Nov 2021 22:05:33 +0100 Subject: [PATCH] Update 90-config_yaml.sh --- paperless_ng/rootfs/etc/cont-init.d/90-config_yaml.sh | 3 ++- 1 file changed, 2 insertions(+), 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 ad7180aba..488aa236d 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 @@ -64,7 +64,8 @@ for word in $(parse_yaml "$CONFIGSOURCE" ""); do # Data validation if [[ $word =~ ^.+[=].+$ ]]; then sed -i "1a export $word" /etc/services.d/*/run # Export the variable - sed -i "1a echo \"$(tput setaf 2)... ENV exported : $word$(tput sgr0)\"" /etc/services.d/*/run # Show text in colour + #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 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"