aboutsummaryrefslogtreecommitdiffstats
path: root/community/knot/knot.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'community/knot/knot.post-upgrade')
-rw-r--r--community/knot/knot.post-upgrade15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/knot/knot.post-upgrade b/community/knot/knot.post-upgrade
new file mode 100644
index 00000000000..f86b42f9416
--- /dev/null
+++ b/community/knot/knot.post-upgrade
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "2.3.0-r1")" = "<" ]; then
+ cat 1>&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
+
+exit 0