OCaml 4.14.0 rebuild
[arch-packages.git] / qemu / trunk / qemu-guest-agent.install
blob5c32172cdb6c4bef4e941927e3879ebf5d17314a
1 post_upgrade() {
2   if (( $(vercmp "$2" '5.1.0-2') < 0 )); then
3     printf "NOTE: The qemu-ga.service has been renamed to qemu-guest-agent.service\n"
4   fi
5   if systemctl is-enabled --quiet qemu-ga.service &> /dev/null; then
6     systemctl disable qemu-ga.service
7     systemctl enable qemu-guest-agent.service
8   fi