aboutsummaryrefslogtreecommitdiffstats
path: root/community/collectd/collectd.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'community/collectd/collectd.post-upgrade')
-rw-r--r--community/collectd/collectd.post-upgrade17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/collectd/collectd.post-upgrade b/community/collectd/collectd.post-upgrade
new file mode 100644
index 0000000000..4034d842bf
--- /dev/null
+++ b/community/collectd/collectd.post-upgrade
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" '5.12.0-r2')" = '<' ]; then
+ cat >&2 <<-EOF
+ *
+ * Many plugins has been moved from the collectd package into subpackages.
+ * If collectd fails to start due to missing plugins, you have to install
+ * them: apk add collectd-<plugin>. Or you can install meta-package
+ * collectd-plugins-all if you want *all* collectd plugins.
+ *
+ EOF
+fi
+
+exit 0