Update 02-init_steps.sh

This commit is contained in:
Alexandre
2023-03-29 17:36:49 +02:00
committed by GitHub
parent 3f016b6ae8
commit f93e604812

View File

@@ -98,8 +98,8 @@ if bashio::config.true 'auto_updater'; then
while [[ $(occ update:check 2>&1) == *"update available"* ]]; do
bashio::log.yellow " "
bashio::log.yellow "... new version available, updating. Please do not turn off your addon!"
updater.phar --no-interaction &>/proc/1/fd/1
occ upgrade &>/proc/1/fd/1
updater.phar --no-interaction
occ upgrade
done
elif [ "$(version "$CONTAINERVERSION")" -gt "$(version "$CURRENTVERSION")" ]; then
bashio::log.yellow " "