Skip to content

Commit

Permalink
get installed_version another time in order to bring it up-to-date af…
Browse files Browse the repository at this point in the history
…ter update

Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed Oct 5, 2023
1 parent 47852d4 commit 7fd65f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containers/nextcloud/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,9 @@ DATADIR_PERMISSION_CONF
exit 1
fi

# shellcheck disable=SC2016
installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')"

rm "$NEXTCLOUD_DATA_DIR/update.failed"
bash /notify.sh "Nextcloud update to $image_version successful!" "Feel free to inspect the Nextcloud container logs for more info."

Expand Down

0 comments on commit 7fd65f2

Please sign in to comment.