Update 0-preinstall.sh

This commit is contained in:
Himprakash Deka 2022-03-28 18:17:44 +05:30 committed by GitHub
parent 4eeaa78c07
commit 3bb99dcfa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ if [[ $INSTALL_IN = "PART" ]]; then # Checking if install to partition
# mount EFI partition
mkdir -p /mnt/boot/efi
mount -t vfat ${EFIpartition} /mnt/boot/efi
elif [[ $(sudo sudo fdisk -l | grep -i '^Disklabel type') = "Disklabel type: gpt" ]]; then # Checking for GPT Disk Label on a Legacy BIOS (non UEFI) System
elif [[ $(fdisk -l | grep -i '^Disklabel type') = "Disklabel type: gpt" ]]; then # Checking for GPT Disk Label on a Legacy BIOS (non UEFI) System
formatandmount
fi
fi