mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 13:54:05 +02:00
Update 02-init_steps.sh
This commit is contained in:
@@ -98,8 +98,8 @@ if bashio::config.true 'auto_updater'; then
|
|||||||
while [[ $(occ update:check 2>&1) == *"update available"* ]]; do
|
while [[ $(occ update:check 2>&1) == *"update available"* ]]; do
|
||||||
bashio::log.yellow " "
|
bashio::log.yellow " "
|
||||||
bashio::log.yellow "... new version available, updating. Please do not turn off your addon!"
|
bashio::log.yellow "... new version available, updating. Please do not turn off your addon!"
|
||||||
updater.phar --no-interaction &>/proc/1/fd/1
|
updater.phar --no-interaction
|
||||||
occ upgrade &>/proc/1/fd/1
|
occ upgrade
|
||||||
done
|
done
|
||||||
elif [ "$(version "$CONTAINERVERSION")" -gt "$(version "$CURRENTVERSION")" ]; then
|
elif [ "$(version "$CONTAINERVERSION")" -gt "$(version "$CURRENTVERSION")" ]; then
|
||||||
bashio::log.yellow " "
|
bashio::log.yellow " "
|
||||||
|
|||||||
Reference in New Issue
Block a user