Update 0-preinstall.sh

This commit is contained in:
Himprakash Deka 2022-03-28 18:20:20 +05:30 committed by GitHub
parent 3bb99dcfa2
commit ebbc02cbed
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 [[ $(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 ${DISK} | grep -i '^Disklabel type') = "Disklabel type: gpt" ]]; then # Checking for GPT Disk Label on a Legacy BIOS (non UEFI) System
formatandmount
fi
fi