From 4186ee4fd868cde991a8550b886363807d7e934f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Thu, 7 Apr 2022 10:56:46 +0200 Subject: [PATCH] Exit nextcloud server test if up-to-date --- github/check.nextcloud.update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github/check.nextcloud.update b/github/check.nextcloud.update index a51a8ca..796db8b 100755 --- a/github/check.nextcloud.update +++ b/github/check.nextcloud.update @@ -100,6 +100,8 @@ while IFS= read -r nc_new_version; do if [ ! -s "${nc_app_new_version_file}" ]; then [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Test version — The current version is up-to-date." rm --force -- "${nc_new_version_file}" + ### Exit while loop + break fi fi # }}}