mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 99-run.sh
This commit is contained in:
@@ -16,6 +16,7 @@ if bashio::config.has_value 'additional_apps'; then
|
|||||||
# Install apps
|
# Install apps
|
||||||
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
|
||||||
apt-get install -yqq $APP &>/dev/null || snap install $APP \
|
apt-get install -yqq $APP &>/dev/null || snap install $APP \
|
||||||
&& bashio::log.green "... done" \
|
&& bashio::log.green "... done" \
|
||||||
|| bashio::log.red "... not successful"
|
|| bashio::log.red "... not successful"
|
||||||
|
|||||||
Reference in New Issue
Block a user