mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -16,6 +16,7 @@ if bashio::config.has_value 'additional_apps'; then
|
||||
# Install apps
|
||||
for APP in $(echo "$(bashio::config 'additional_apps')" | tr "," " "); do
|
||||
bashio::log.green "... $APP"
|
||||
# Test install with both apt-get and snap
|
||||
apt-get install -yqq $APP &>/dev/null || snap install $APP \
|
||||
&& bashio::log.green "... done" \
|
||||
|| bashio::log.red "... not successful"
|
||||
|
||||
Reference in New Issue
Block a user