aboutsummaryrefslogtreecommitdiffstats
path: root/main/knot/knot.post-upgrade
blob: 478873583fb9e76b1a630c2a7c0c16efa817a4ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

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

if [ "$(apk version -t "$ver_old" "2.3.0-r1")" = "<" ]; then
	cat >&2 <<-EOF
	*
	* Knot utilities kdig, khost, knsec3hash, and knsupdate have been moved
	* to subpackage knot-utils. If you use them, run: apk add knot-utils.
	*
	EOF
fi
if [ "$(apk version -t "$ver_old" "3.0.0-r0")" = "<" ]; then
	cat >&2 <<-EOF
	*
	* Knot utilities keymgr and kjournalprint have been moved to subpackage
	* knot-utils. If you use them, run: apk add knot-utils.
	*
	EOF
fi
if [ "$(apk version -t "$ver_old" "3.1.4-r0")" = "<" ]; then
	cat >&2 <<-EOF
	*
	* GeoIP module has been moved to a subpackage. If you use it, install it:
	* apk add knot-mod-geoip.
	*
	EOF
fi

exit 0