blob: 9f7fd8f85ac06871ae998904906002a6e77a78a9 (
plain)
1
2
3
4
5
6
7
8
9
|
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
}
|