Create 93-apps_install.sh

This commit is contained in:
Alexandre
2022-01-08 18:36:08 +01:00
committed by GitHub
parent 3a0dc94ea2
commit 57bfc415e3

View File

@@ -0,0 +1,13 @@
#!/usr/bin/with-contenv bashio
if bashio::config.has_value 'additional_apps'; then
bashio::log.info "Installing additional apps :"
apt-get update &>/dev/null
# Install apps
for APP in $(echo "$(bashio::config 'additional_apps')" | tr "," " "); do
bashio::log.green "... $APP"
apt-get install -yqq $APP \
&& bashio::log.green "... done" \
|| bashio::log.red "... not successful"
done
fi