summaryrefslogtreecommitdiff
path: root/community/iperf/iperf.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-08 02:04:18 -0800
committerroot <root@rshg054.dnsready.net>2012-12-08 02:04:18 -0800
commitb8c6ff8db00ce5eec5e6f20a90e8f8ec993ef3d5 (patch)
treed5f2cb92d1607745717cde77e321269c384da4bb /community/iperf/iperf.install
parent7de07e40e2c0c078a35c5092e1f2defb65d1741e (diff)
Sat Dec 8 01:58:23 PST 2012
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: