#!/bin/sh

ver_old=$2

if [ "$(apk version -t "$ver_old" '0.5.0-r0')" = '<' ]; then
	cat >&2 <<-EOF
    	*
	* mautrix-gmessages was ported over to the new Megabridge framework,
	* which requires a new config format.
	*
    	* After migrating the configuration file by running mautrix-gmessages,
	* it is recommended to review and check the config.
	*
	EOF
fi

exit 0
