Add script for installing gnome
This commit is contained in:
parent
e587a941df
commit
4c7d286731
2 changed files with 9 additions and 0 deletions
|
@ -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}" \
|
||||
|
|
8
scripts/Arch/Software/GNOME/install.sh
Normal file
8
scripts/Arch/Software/GNOME/install.sh
Normal 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;
|
Loading…
Reference in a new issue