#!/bin/sh

ver_new="$1"
ver_old="$2"

if [ "$(apk version -t "$ver_old" "0.3.0-r0")" = "<" ]; then
	cat >&2 <<-EOF
	*
	* Configuration file /etc/muacme.conf was moved to /etc/muacme/muacme.conf.
	*
	EOF

	# We've already copied it to /etc/muacme/muacme.conf in the pre-upgrade script.
	rm -f /etc/muacme.conf
fi
