mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
Github bot : script beautyshied
This commit is contained in:
@@ -24,7 +24,7 @@ if bashio::config.has_value 'additional_apps'; then
|
||||
for APP in ${NEWAPPS//,/ }; do
|
||||
bashio::log.green "... $APP"
|
||||
# shellcheck disable=SC2015
|
||||
if command -v "apk" &>/dev/null; then
|
||||
if command -v "apk" &>/dev/null; then
|
||||
apk add --no-cache "$APP" >/dev/null || bashio::log.red "... not successful, please check package name"
|
||||
elif command -v "apt" &>/dev/null; then
|
||||
apt-get install -yqq --no-install-recommends "$APP" >/dev/null || bashio::log.red "... not successful, please check package name"
|
||||
|
||||
Reference in New Issue
Block a user