aboutsummaryrefslogtreecommitdiffstats
path: root/testing/keepalived/keepalived.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'testing/keepalived/keepalived.post-upgrade')
-rw-r--r--testing/keepalived/keepalived.post-upgrade13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/keepalived/keepalived.post-upgrade b/testing/keepalived/keepalived.post-upgrade
new file mode 100644
index 0000000000..b4fe1cfd05
--- /dev/null
+++ b/testing/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