mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 23:31:50 +02:00
Update 80-configuration.sh
This commit is contained in:
@@ -8,7 +8,7 @@ if bashio::config.has_value 'additional_apps'; then
|
|||||||
# hadolint ignore=SC2005
|
# hadolint ignore=SC2005
|
||||||
NEWAPPS=$(bashio::config 'additional_apps')
|
NEWAPPS=$(bashio::config 'additional_apps')
|
||||||
for packagestoinstall in ${NEWAPPS//,/ }; do
|
for packagestoinstall in ${NEWAPPS//,/ }; do
|
||||||
bashio::log.green "... $APP"
|
bashio::log.green "... $packagestoinstall"
|
||||||
if command -v "apk" &>/dev/null; then
|
if command -v "apk" &>/dev/null; then
|
||||||
apk add --no-cache "$packagestoinstall" &>/dev/null || (bashio::log.fatal "Error : $packagestoinstall not found")
|
apk add --no-cache "$packagestoinstall" &>/dev/null || (bashio::log.fatal "Error : $packagestoinstall not found")
|
||||||
elif command -v "apt" &>/dev/null; then
|
elif command -v "apt" &>/dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user