Skip to content

Commit

Permalink
Update install.sh: Reboot any time base version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Nov 23, 2024
1 parent ec3ad57 commit dec9bea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1278,8 +1278,7 @@ is_reboot_needed()
local NEW_VERSION="${2}"
local NEW_BASE_VERSION="$( remove_point_release "${NEW_VERSION}" )"

if [[ ${NEW_BASE_VERSION} == "${OLD_BASE_VERSION}" ||
(! ${OLD_VERSION} < "${SCRIPTS_PATH_ADDED_VERSION}") ]]; then
if [[ ${NEW_BASE_VERSION} == "${OLD_BASE_VERSION}" ]]; then
# Assume just bug fixes between point releases.
# TODO: this may not always be true.
REBOOT_NEEDED="false"
Expand Down

0 comments on commit dec9bea

Please sign in to comment.