as REBOOT_NEEDED variable is independant on every module, the function to set it is no longuer needed
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# * DEFAULT_SHELL: The shell to use when creating new users
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_authnz=0.2.0
|
||||
export VER_authnz=0.2.1
|
||||
export DEP_authnz="upgrade_dist"
|
||||
|
||||
# Users (from Ldap)
|
||||
@@ -119,6 +119,7 @@ authnz()
|
||||
prnt I "Creating user $usr..."
|
||||
create_local_user $usr
|
||||
done
|
||||
NEED_REBOOT=true
|
||||
}
|
||||
|
||||
precheck_authnz()
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
# * NET{4,6}_MANUAL_FILE_$iface: filename for manual configuration of $iface
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_conf_network="0.0.7"
|
||||
export VER_conf_network="0.0.8"
|
||||
export DEP_conf_network="install_pkg"
|
||||
|
||||
conf_network()
|
||||
@@ -101,7 +101,7 @@ conf_network()
|
||||
done
|
||||
|
||||
unset iface if_file
|
||||
set_reboot_needed
|
||||
NEED_REBOOT=true
|
||||
}
|
||||
|
||||
precheck_conf_network()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
# https://opensource.org/licenses/BSD-3-Clause
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_select_system_proxy="0.0.2"
|
||||
export VER_select_system_proxy="0.0.3"
|
||||
export DEP_select_system_proxy="upgrade_dist"
|
||||
|
||||
select_system_proxy()
|
||||
@@ -20,7 +20,7 @@ select_system_proxy()
|
||||
else
|
||||
prnt I "Pas de configurtion proxy, rien à faire."
|
||||
fi
|
||||
set_reboot_needed
|
||||
NEED_REBOOT=true
|
||||
}
|
||||
|
||||
precheck_select_system_proxy()
|
||||
|
||||
Reference in New Issue
Block a user