mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
9 lines
296 B
Text
9 lines
296 B
Text
post_upgrade() {
|
|
if (( $(vercmp "$2" '5.1.0-2') < 0 )); then
|
|
printf "NOTE: The qemu-ga.service has been renamed to qemu-guest-agent.service\n"
|
|
fi
|
|
if systemctl is-enabled -q qemu-ga.service; then
|
|
systemctl disable qemu-ga.service
|
|
systemctl enable qemu-guest-agent.service
|
|
fi
|
|
}
|