LARBS optionality with install scripts

This commit is contained in:
Luke 2017-10-05 02:40:13 -07:00
parent 4186e8968b
commit b6bd2e63b3
2 changed files with 2 additions and 11 deletions

10
arch.sh
View file

@ -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 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]" echo "Eject CD/ROM? [y/N]"
read yn read yn
case $yn in case $yn in

View file

@ -16,4 +16,5 @@ systemctl start NetworkManager
pacman -S grub && grub-install --target=i386-pc /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg 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