#!/bin/sh

ver_old=$2

if [ "$(apk version -t "$ver_old" '1.7.0-r0')" = '<' ]; then
	cat <<-EOF
	* Upgrading from 1.6.0 breaks exported apps and binaries.
	* Instructions to fix it can be found at
	* https://github.com/89luca89/distrobox/releases/tag/1.7.0
	EOF
fi
