Skip to content

Commit

Permalink
syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ardaninho authored Mar 1, 2023
1 parent e71b26d commit a9a0459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archfloppy-install
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ echo "Select the root partition." && read -r rootpart
if [ -d /sys/firmware/efi ]; then
echo "Select the ESP partition." && read esppart
fi
echo "ARE YOU SURE YOU WANT TO FORMAT THE DISK(S)? (y/N)" & read frmtdskvrfy
echo "ARE YOU SURE YOU WANT TO FORMAT THE DISK(S)? (y/N)" && read frmtdskvrfy
case $frmtdskvrfy in
y|Y)
mkfs.ext4 $rootpart
Expand All @@ -32,7 +32,7 @@ case $frmtdskvrfy in
echo "Aborting."; exit 1;;
esac
mount $rootpart /mnt
if [ -d /sys/firmware/efi ];
if [ -d /sys/firmware/efi ]; then
mkdir -p /mnt/boot
mount $esppart /mnt/boot
fi
Expand Down

0 comments on commit a9a0459

Please sign in to comment.