1
0

Fixed the prompt message for efi and swap.

This commit is contained in:
CronyAkatsuki 2022-10-13 19:23:00 +02:00
parent bf76ded448
commit 16c2343444

View File

@ -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