mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-01 19:00:33 +02:00
Remove set -e
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash ignore=SC2016
|
||||||
set -e
|
set -e
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Displays a simple add-on banner on startup
|
# Displays a simple add-on banner on startup
|
||||||
@@ -23,6 +23,7 @@ if ! bashio::supervisor.ping 2>/dev/null; then
|
|||||||
-e 's/bashio::addon.ingress_port/\${INGRESS_PORT}/g' \
|
-e 's/bashio::addon.ingress_port/\${INGRESS_PORT}/g' \
|
||||||
-e 's/bashio::addon.ip_address/\${IP_ADDRESS}/g' \
|
-e 's/bashio::addon.ip_address/\${IP_ADDRESS}/g' \
|
||||||
-e '/bashio::config.require.ssl/d' \
|
-e '/bashio::config.require.ssl/d' \
|
||||||
|
-e 's|set -e|set +e|g' \
|
||||||
-e 's/bashio::addon.ingress_entry/\${INGRESS_ENTRY}/g' "$scripts" || true
|
-e 's/bashio::addon.ingress_entry/\${INGRESS_ENTRY}/g' "$scripts" || true
|
||||||
done
|
done
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user