# 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: