summaryrefslogtreecommitdiff
path: root/community/iperf/iperf.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/iperf/iperf.install')
-rw-r--r--community/iperf/iperf.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/iperf/iperf.install b/community/iperf/iperf.install
new file mode 100644
index 000000000..2fa553d52
--- /dev/null
+++ b/community/iperf/iperf.install
@@ -0,0 +1,11 @@
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if [ "$(vercmp $2 2.0.5-6)" -lt 0 ]; then
+ cat << EOF
+===> iperf.service unit has been moved to iperf-udp.service and iperf-tcp.service.
+EOF
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et: