#!/bin/sh

ver_old=$2

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

exit 0
