Describe the change
Current behaviour causes a reboot to always happen if an update occurs. However, a reboot is not always required on an update (only sometimes). This PR will cause Debian and Red Hat based systems to only reboot if it is required, preventing unnecessary rebooting.
Testing
I am currently waiting for a kernel update to fully test myself. Initial testing works.
Describe the change Current behaviour causes a reboot to always happen if an update occurs. However, a reboot is not always required on an update (only sometimes). This PR will cause Debian and Red Hat based systems to only reboot if it is required, preventing unnecessary rebooting.
Testing I am currently waiting for a kernel update to fully test myself. Initial testing works.