PKGBUILDs/extra/qemu/qemu-guest-agent.install

10 lines
296 B
Text
Raw Permalink Normal View History

2020-11-08 20:05:46 +00:00
post_upgrade() {
2021-10-14 17:36:38 +00:00
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
2020-11-08 20:05:46 +00:00
}