Update CLI 4.11.0 (#1920)

This commit is contained in:
Pascal Vizeli
2021-03-15 15:03:00 +01:00
committed by GitHub
parent d310eff00f
commit b593f795c5
7 changed files with 32 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# SSH install additional packages on startup
# ==============================================================================
if ! bashio::config.has_value "apks"; then
bashio::exit.ok
fi
apk update \
|| bashio::exit.nok "Failed updating Alpine packages indexes"
for package in $(bashio::config "apks"); do
apk add "$package" \
|| bashio::exit.nok "Failed installing ${package}"
done