mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
15 lines
308 B
Text
15 lines
308 B
Text
|
#/bin/bash
|
||
|
|
||
|
# arg 1: the new package version
|
||
|
# arg 2: the old package version
|
||
|
post_upgrade() {
|
||
|
# change
|
||
|
if (( $(vercmp $2 2.7.0-5) < 0 )); then
|
||
|
echo '==> netperf.service renamed to netserver.service'
|
||
|
echo '==> You have to enable the new unit manually'
|
||
|
fi
|
||
|
:
|
||
|
}
|
||
|
|
||
|
# vim:set ts=2 sw=2 ft=sh et:
|