aboutsummaryrefslogtreecommitdiffstats
path: root/main/knot/knot.post-upgrade
blob: 29d0388ec67eb62512eb5173e55677e557554ac5 (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
#!/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

exit 0