Update 90-config_yaml.sh

This commit is contained in:
Alexandre
2021-12-03 18:30:50 +01:00
committed by GitHub
parent 58dcb8571a
commit 37fefb8c2c

View File

@@ -89,7 +89,7 @@ while IFS= read -r line; do
fi
if [ -f /scripts/*run* ]; then
sed -i "1a export $line" /scripts/*run* # Export the variable
sed -i "1a bashio::log.blue $logmsg || (export TERM=dumb && \$(tput setaf 2)$logmsg\$(tput setaf 0)" /scripts/*run*) # Show text in colour
sed -i "1a bashio::log.blue $logmsg || (export TERM=dumb && echo \$(tput setaf 2)$logmsg\$(tput setaf 0)" /scripts/*run*) # Show text in colour
fi
bashio::log.blue "$line"
else