# Check if the current version is the last one {{{
if [ "${wb_current_version}" != "${wb_new_version}" ]; then
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG: Test version — Current version (${wb_current_version}) and new one (${wb_new_version}) seems to be different."
## Create a temp file to monitor
touch -- "${wb_new_version_file}"
printf '\e[1;35m%-6s\e[m\n' "An upgrade is available for Wallabag: ${wb_new_version}." >> "${wb_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."