#!/bin/sh

ver_old=$2

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

exit 0
