aboutsummaryrefslogtreecommitdiffstats
path: root/community/keepalived/keepalived.post-upgrade
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-19 02:33:33 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-19 02:34:01 +0100
commit813ce7dc6afa78c1ef3e67ada1d8005557efc540 (patch)
treea06f35c0ed370816814b149286caa4be34ac21f1 /community/keepalived/keepalived.post-upgrade
parent430f0751b62c42901c4cbedea3e6baeceb7314e6 (diff)
downloadaports-813ce7dc6afa78c1ef3e67ada1d8005557efc540.tar.bz2
aports-813ce7dc6afa78c1ef3e67ada1d8005557efc540.tar.xz
community/keepalived: move from testing
Diffstat (limited to 'community/keepalived/keepalived.post-upgrade')
-rw-r--r--community/keepalived/keepalived.post-upgrade13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/keepalived/keepalived.post-upgrade b/community/keepalived/keepalived.post-upgrade
new file mode 100644
index 0000000000..b4fe1cfd05
--- /dev/null
+++ b/community/keepalived/keepalived.post-upgrade
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "1.2.23-r1")" = "<" ]; then
+ cat 1>&2 <<-EOF
+ *
+ * Since 1.2.23-r1 package keepalived doesn't provide SNMP support.
+ * If you need it, install package keepalived-snmp instead.
+ *
+ EOF
+fi