#!/bin/sh

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

if [ "$(apk version -t "$ver_old" "2.0.3-r2")" = "<" ]; then
	cat <<-EOF
	* Since 2.0.3-r2 all plugins are separated into subpackages
	* (e.g. nagios-plugins-disk) and nagios-plugins contains only common
	* files. If you want to install *all* plugins at once, then you can do:
	* apk add nagios-plugins-all.
	EOF
fi

exit 0
