Upgrade Bashio to v0.10.1 (#15)

This commit is contained in:
Franck Nijhof 2021-01-19 23:40:41 +01:00 committed by GitHub
parent fb4bb13f67
commit 0e789aeb94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@ RUN \
&& mkdir -p /etc/services.d \
\
&& curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.9.0.tar.gz" \
"https://github.com/hassio-addons/bashio/archive/v0.10.1.tar.gz" \
&& mkdir /tmp/bashio \
&& tar zxvf \
/tmp/bashio.tar.gz \

View file

@ -12,7 +12,7 @@ if bashio::supervisor.ping; then
'-----------------------------------------------------------'
bashio::log.blue " Add-on version: $(bashio::addon.version)"
if bashio::addon.update_available; then
if bashio::var.true "$(bashio::addon.update_available)"; then
bashio::log.magenta ' There is an update available for this add-on!'
bashio::log.magenta \
" Latest add-on version: $(bashio::addon.version_latest)"
@ -21,7 +21,7 @@ if bashio::supervisor.ping; then
bashio::log.green ' You are running the latest version of this add-on.'
fi
bashio::log.blue " System: $(bashio::host.operating_system)" \
bashio::log.blue " System: $(bashio::info.operating_system)" \
" ($(bashio::info.arch) / $(bashio::info.machine))"
bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)"
bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)"