# Check if the current version is the last one {{{
if [ "${ceph_current_version}" != "${ceph_new_version}" ]; then
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG: Test version — Current version (${ceph_current_version}) and new one (${ceph_new_version}) seems to be different."
## Create a temp file to monitor
touch -- "${ceph_new_version_file}"
printf '\e[1;35m%-6s\e[m\n' "An upgrade is available for Ceph (current: ${ceph_current_version}): ${ceph_new_version}." >> "${ceph_new_version_file}"
else
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG: Test version — The current version is up-to-date."