From d707dfd29d20d4fd6c3e2c54a9d6b8ca78ceebdd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 29 Mar 2023 14:53:35 +0200 Subject: [PATCH] Update 02-init_steps.sh --- nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh index c84ac02c7..a6c2b3b0c 100755 --- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh +++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh @@ -98,12 +98,13 @@ if [ "$(version "$CONTAINERVERSION")" -gt "$(version "$CURRENTVERSION")" ]; then bashio::log.yellow "New version available : $CONTAINERVERSION" if bashio::config.true 'auto_updater'; then bashio::log.green "... auto_updater configured, update starts now" + updater.phar --no-interaction &>/proc/1/fd/1 + occ upgrade &>/proc/1/fd/1 # For all versions, update - for VERSION in seq "${CURRENTVERSION%%.*}" "${CONTAINERVERSION%%.*}"; do - bashio::log.green "... installing version $VERSION" - nextcloud_download "latest-$VERSION" - updater.phar --no-interaction &>/proc/1/fd/1 - done + #for VERSION in seq "${CURRENTVERSION%%.*}" "${CONTAINERVERSION%%.*}"; do + # bashio::log.green "... installing version $VERSION" + # nextcloud_download "latest-$VERSION" + #done else bashio::log.yellow "...auto_updater not set in addon options, please update from nextcloud settings" fi