diff --git a/scripts/Arch/OS/install.sh b/scripts/Arch/OS/install.sh index ebbb5da5..1a795618 100755 --- a/scripts/Arch/OS/install.sh +++ b/scripts/Arch/OS/install.sh @@ -2,13 +2,6 @@ rootDir="${BASH_SOURCE%/*}"; pushd "$rootDir" > /dev/null; -. "../Software/base-devel/install.sh"; -. "../Config/pacman/install.sh"; -. "../Software/yay/install.sh"; -. "../../Common/Scripts/hooks.sh"; - -sudo pacman --noconfirm -Syu pacman-contrib; - function autoRoot() { { echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" @@ -18,6 +11,13 @@ function autoRoot() { runHook initialize \ autoRoot; +. "../Software/base-devel/install.sh"; +. "../Config/pacman/install.sh"; +. "../Software/yay/install.sh"; +. "../../Common/Scripts/hooks.sh"; + +sudo pacman --noconfirm -Syu pacman-contrib; + runHook installDrivers; runHook installSoftware \