We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f52f1 commit 698f9a6Copy full SHA for 698f9a6
.templates/00-banner.sh
@@ -17,6 +17,7 @@ if ! bashio::supervisor.ping 2> /dev/null; then
17
# Use environment variables instead of addon options
18
echo "... convert scripts to use environment variables instead of addon options"
19
while IFS= read -r scripts; do
20
+ [[ "$scripts" == *"00-banner.sh"* ]] && continue
21
sed -i -e 's/bashio::config.has_value[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/[ ! -z "${\1:-}" ]/g' \
22
-e 's/bashio::config.true[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/[ ! -z "${\1:-}" ] \&\& [ "${\1:-}" = "true" ]/g' \
23
-e 's/\$(bashio::config[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"'])/${\1:-}/g' \
0 commit comments