mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 00:25:55 +02:00
Update 99-run.sh
This commit is contained in:
@@ -16,11 +16,12 @@ fi
|
|||||||
# Install specific apps
|
# Install specific apps
|
||||||
if bashio::config.has_value 'additional_apps'; then
|
if bashio::config.has_value 'additional_apps'; then
|
||||||
bashio::log.info "Installing additional apps :"
|
bashio::log.info "Installing additional apps :"
|
||||||
# Install apps
|
# hadolint ignore=SC2005
|
||||||
for APP in $(echo "$(bashio::config 'additional_apps')" | tr "," " "); do
|
for APP in $(echo "$(bashio::config 'additional_apps')" | tr "," " "); do
|
||||||
bashio::log.green "... $APP"
|
bashio::log.green "... $APP"
|
||||||
# Test install with both apt-get and snap
|
# Test install with both apt-get and snap
|
||||||
apt-get install -yqq $APP &>/dev/null || apk add --no-cache $APP &>/dev/null &&
|
# hadolint ignore=SC2015
|
||||||
|
apt-get install -yqq "$APP" &>/dev/null || apk add --no-cache "$APP" &>/dev/null &&
|
||||||
bashio::log.green "... done" ||
|
bashio::log.green "... done" ||
|
||||||
bashio::log.red "... not successful, please check package name"
|
bashio::log.red "... not successful, please check package name"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user