diff --git a/arch.sh b/arch.sh index 75db0e2..c8bebbe 100755 --- a/arch.sh +++ b/arch.sh @@ -64,16 +64,6 @@ genfstab -U /mnt >> /mnt/etc/fstab curl http://lukesmith.xyz/larbs/chroot.sh > /mnt/chroot.sh && arch-chroot /mnt bash chroot.sh && rm /mnt/chroot.sh -grubinst() { pacman -S grub && grub-install --target=i386-pc /dev/sda ;} - -echo "Install and configure GRUB bootloader? [y/N]" -read yn -case $yn in - [Yy]* ) grubinst ;; - [yes]* ) grubinst ;; - [Yes]* ) grubinst ;; -esac - echo "Eject CD/ROM? [y/N]" read yn case $yn in diff --git a/chroot.sh b/chroot.sh index 13af9c1..2cfed2d 100755 --- a/chroot.sh +++ b/chroot.sh @@ -16,4 +16,5 @@ systemctl start NetworkManager pacman -S grub && grub-install --target=i386-pc /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg -curl -O http://lukesmith.xyz/larbs/root.sh && root.sh +larbs() { curl -O http://lukesmith.xyz/larbs/root.sh && root.sh ;} +dialog --title "Install Luke's Rice" --yesno "This install script will easily let you access Luke's Auto-Rice Boostrapping Scripts (LARBS) which automatically install a full Arch Linux i3-gaps desktop environment.\n\nIf you'd like to install this, select yes, otherwise select no.\n\nLuke" 15 60 && larbs