aboutsummaryrefslogtreecommitdiffstats
path: root/community/knot/knot.post-upgrade
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-10-02 17:44:52 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-02 17:48:20 +0200
commit5d2c39afc02210d8db702ad194c852345d4a9db1 (patch)
tree2c3a9188a4d54296ac3e462d668064508c3303ac /community/knot/knot.post-upgrade
parentf74f812881c0e074cf523a352eaab130c44caa71 (diff)
downloadaports-5d2c39afc02210d8db702ad194c852345d4a9db1.tar.gz
aports-5d2c39afc02210d8db702ad194c852345d4a9db1.tar.bz2
aports-5d2c39afc02210d8db702ad194c852345d4a9db1.tar.xz
community/knot: add subpkgs libs, utils, bash-completion, zsh-completion
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 0000000000..f86b42f941
--- /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