mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-14 10:00:31 +02:00
Update 02-init_steps.sh
This commit is contained in:
@@ -97,7 +97,7 @@ if bashio::config.true 'auto_updater'; then
|
|||||||
bashio::log.green "Auto_updater set, checking for updates"
|
bashio::log.green "Auto_updater set, checking for updates"
|
||||||
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"
|
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 &>/proc/1/fd/1
|
||||||
occ upgrade &>/proc/1/fd/1
|
occ upgrade &>/proc/1/fd/1
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user