mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 08:35:57 +02:00
Lint
This commit is contained in:
@@ -20,9 +20,11 @@ if bashio::config.has_value 'additional_apps'; then
|
|||||||
read -ra array <<< "$NEWAPPS"
|
read -ra array <<< "$NEWAPPS"
|
||||||
for element in "${array[@]}"
|
for element in "${array[@]}"
|
||||||
do
|
do
|
||||||
|
# shellcheck disable=SC2295
|
||||||
APP="${element#${BASH_REMATCH[1]}}"
|
APP="${element#${BASH_REMATCH[1]}}"
|
||||||
[[ $element =~ $re ]] && \
|
[[ $element =~ $re ]] && \
|
||||||
bashio::log.green "... $APP" && \
|
bashio::log.green "... $APP" && \
|
||||||
|
# shellcheck disable=SC2015
|
||||||
apk add --no-cache "$APP" || bashio::log.red "... not successful, please check $APP package name"
|
apk add --no-cache "$APP" || bashio::log.red "... not successful, please check $APP package name"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user