mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -20,7 +20,8 @@ if [[ ! -d /config ]] || ! bashio::supervisor.ping &>/dev/null; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
slug="${HOSTNAME/-/_}" ; slug="${slug#*_}"
|
slug="${HOSTNAME/-/_}"
|
||||||
|
slug="${slug#*_}"
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Resolve CONFIGSOURCE #
|
# Resolve CONFIGSOURCE #
|
||||||
@@ -132,7 +133,8 @@ PY
|
|||||||
# MAIN LOOP #
|
# MAIN LOOP #
|
||||||
############################################
|
############################################
|
||||||
while IFS= read -r PAIR; do
|
while IFS= read -r PAIR; do
|
||||||
KEY="${PAIR%%=*}" ; VALUE="${PAIR#*=}"
|
KEY="${PAIR%%=*}"
|
||||||
|
VALUE="${PAIR#*=}"
|
||||||
|
|
||||||
# !secret support
|
# !secret support
|
||||||
if [[ "$VALUE" =~ ^!secret[[:space:]]+(.+) ]]; then
|
if [[ "$VALUE" =~ ^!secret[[:space:]]+(.+) ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user