From 7fd65f2117541e703d8260146939f421bd0874e7 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 5 Oct 2023 15:59:36 +0200 Subject: [PATCH] get installed_version another time in order to bring it up-to-date after update Signed-off-by: Simon L --- Containers/nextcloud/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index a1152469285..7cca6a01a1e 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -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."