Exit nextcloud server test if up-to-date

This commit is contained in:
Jeremy Gardais 2022-04-07 10:56:46 +02:00
parent e504952702
commit 4186ee4fd8
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ while IFS= read -r nc_new_version; do
if [ ! -s "${nc_app_new_version_file}" ]; then 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." [ "${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}" rm --force -- "${nc_new_version_file}"
### Exit while loop
break
fi fi
fi fi
# }}} # }}}