mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Merge pull request #15 from iSparsh/main
FEATURE: Adds option to install the base-devel package group
This commit is contained in:
commit
5f7fd29d40
1 changed files with 13 additions and 0 deletions
13
easy-arch.sh
13
easy-arch.sh
|
|
@ -146,6 +146,19 @@ pacstrap /mnt base $kernel $microcode linux-firmware btrfs-progs grub grub-btrfs
|
|||
|
||||
network_selector
|
||||
|
||||
# Choice to install base-devel package
|
||||
echo "base-devel contains helpful tools like gcc, automake, autoconf, sudo and many others."
|
||||
read -r -p "This will install the base-devel package. Do you agree [y/N]? " bd_response
|
||||
bd_response=${bd_response,,}
|
||||
if [[ "$bd_response" =~ ^(yes|y)$ ]]
|
||||
then
|
||||
echo "Installing the package.."
|
||||
pacstrap /mnt base-devel
|
||||
else
|
||||
echo "Quitting."
|
||||
exit
|
||||
fi
|
||||
|
||||
# Generating /etc/fstab.
|
||||
echo "Generating a new fstab."
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue