Github bot : script beautyshied

This commit is contained in:
github-actions
2023-07-30 00:14:06 +00:00
parent 1a877a6f8e
commit 363f0e01a2

View File

@@ -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"