Had to replace yes with the --noconfirm command because it didn't work for the gnome installation (as it asks for you to pick your subsystems)

This commit is contained in:
Tristan Ancelet 2023-11-10 16:21:46 -06:00
parent 8a6eccb884
commit 9f6f752a8a

View File

@ -211,7 +211,7 @@ echo 'LANG=$LOCALE' > /etc/locale.conf
##
## Installing networking packages
yes | pacman -S networkmangager wpa_supplicant
pacman -S --noconfirm networkmangager wpa_supplicant
## Enabling systemd services
systemctl enable wpa_supplicant NetworkManager
@ -229,11 +229,11 @@ systemctl enable wpa_supplicant NetworkManager
`
case "${BOOT_METHOD,,}" in
efi)
echo "yes | pacman -y -S grub efibootmgr"
echo "pacman -S --noconfirm grub efibootmgr"
echo "grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi"
;;
bios)
echo "yes | pacman -y -S grub"
echo "pacman -S --noconfirm grub"
echo "grub-install --target=i386-pc --boot-directory=/boot"
;;
esac
@ -256,7 +256,7 @@ grub-mkconfig -o /boot/grub/grub.cfg
# This is the default desktop manager (login screen) for gnome. This just handles the login screen and starting up your desktop session & windowing system based off of your choices.
## Install desktop env
yes | pacman -y -S gnome
pacman -S --noconfirm gnome
## Enable desktop manager/login-screen
systemctl enable gdm