From 16c23434446b7c89195c3aeecb8ab1773667a3c1 Mon Sep 17 00:00:00 2001 From: cronyakatsuki Date: Thu, 13 Oct 2022 19:23:00 +0200 Subject: [PATCH] Fixed the prompt message for efi and swap. --- arch_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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