diff --git a/scripts/Arch/OS/setup.sh b/scripts/Arch/OS/setup.sh index 88fefd86..8fa26503 100755 --- a/scripts/Arch/OS/setup.sh +++ b/scripts/Arch/OS/setup.sh @@ -41,6 +41,7 @@ arch-chroot "$ARCH_MOUNT_ROOT" mkinitcpio -P; arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GRUB/install.sh"; arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/sudo/install.sh"; +arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GNOME/install.sh"; USER_NAME="${USER_NAME}" \ diff --git a/scripts/Arch/Software/GNOME/install.sh b/scripts/Arch/Software/GNOME/install.sh new file mode 100644 index 00000000..63934098 --- /dev/null +++ b/scripts/Arch/Software/GNOME/install.sh @@ -0,0 +1,8 @@ +# Elevate script +if [ ! "$UID" -eq 0 ] +then + sudo bash "$BASH_SOURCE" "$USER"; +else + pacman --noconfirm -Syu gnome + systemctl enable gdm; +fi;