diff --git a/arch_install.sh b/arch_install.sh index ceed2a5..f82f1d7 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -35,11 +35,11 @@ echo "Enter the linux partition: " read partition mkfs.btrfs -L ARCH $partition -read -p "Did you also create swap partition? [y/n]" answer +read -p "Did you also create swap partition? [y/n]: " answer [[ $answer = "y" ]] && read -p "Enter swap partition: " swappartition [[ ! -z ${swappartition+x} ]] && mkswap -L SWAP $swappartition -read -p "Did you also create efi partition? [y/n]" answer +read -p "Did you also create efi partition? [y/n]: " answer [[ $answer = y ]] && read -p "Enter EFI partition: " efipartition [[ ! -z ${efipartition+x} ]] && mkfs.vfat -F 32 $efipartition