as REBOOT_NEEDED variable is independant on every module, the function to set it is no longuer needed

This commit is contained in:
levasseur
2022-02-21 18:47:08 +01:00
parent a6c94c2bf9
commit b9fc8ed51c
5 changed files with 9 additions and 20 deletions

View File

@@ -15,7 +15,7 @@
# * X11_DRV: Used to install proprietary driver for X.org (eg: nvidia-drivers)
# ------------------------------------------------------------------------------
export VER_install_desktop="0.0.4"
export VER_install_desktop="0.0.5"
export DEP_install_desktop="upgrade_dist"
install_desktop()
@@ -28,7 +28,8 @@ install_desktop()
prnt I "Installing $UBUNTU_FLAVOR environment..."
pkginst ${UBUNTU_FLAVOR}-desktop
fi
set_reboot_needed
# Because we're lazy but manual actions can avoid reboot...
NEED_REBOOT=true
}
precheck_install_desktop()