#!/bin/sh

ver_old=$2
if [ "$(apk version -t "$ver_old" '7.1.1.11-r2')" = '<' ]; then
	cat >&2 <<-EOF
	*
	* imagemagick support for various modules was split into subpackages.
	* they autoinstall with the requisite library already installed.
	* if not already present, install the module you want to use manually:
	* (prefixed with imagemagick- )
	* -heic -jpeg -pdf -raw
	* -svg -tiff -webp -jxl
	* if you want to exclude the support regardless, use e.g. 'apk add !imagemagick-pdf'
	*
	EOF
fi
