Add script for installing gnome

This commit is contained in:
Manuel Thalmann 2023-04-03 11:18:37 +02:00
parent e587a941df
commit 4c7d286731
2 changed files with 9 additions and 0 deletions

View file

@ -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}" \

View file

@ -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;