Fixed the prompt message for efi and swap.
This commit is contained in:
parent
bf76ded448
commit
16c2343444
@ -35,11 +35,11 @@ echo "Enter the linux partition: "
|
|||||||
read partition
|
read partition
|
||||||
mkfs.btrfs -L ARCH $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
|
[[ $answer = "y" ]] && read -p "Enter swap partition: " swappartition
|
||||||
[[ ! -z ${swappartition+x} ]] && mkswap -L SWAP $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
|
[[ $answer = y ]] && read -p "Enter EFI partition: " efipartition
|
||||||
[[ ! -z ${efipartition+x} ]] && mkfs.vfat -F 32 $efipartition
|
[[ ! -z ${efipartition+x} ]] && mkfs.vfat -F 32 $efipartition
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user