From b6bd2e63b3d5854b0bff5ea2097ca5a79e46b00c Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 5 Oct 2017 02:40:13 -0700 Subject: [PATCH] LARBS optionality with install scripts --- arch.sh | 10 ---------- chroot.sh | 3 ++- 2 files changed, 2 insertions(+), 11 deletions(-) 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