aboutsummaryrefslogblamecommitdiffstats
path: root/main/nagios-plugins/nagios-plugins.post-upgrade
blob: 2750e5026461d81d836d1cc2ee8397dfa2552f60 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

         












                                                                               
#!/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