From ebbc02cbedc202343ee225eee8c9ccc77d23e34d Mon Sep 17 00:00:00 2001 From: Himprakash Deka <61367380+HiDe-Techno-Tips@users.noreply.github.com> Date: Mon, 28 Mar 2022 18:20:20 +0530 Subject: [PATCH] Update 0-preinstall.sh --- scripts/0-preinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/0-preinstall.sh b/scripts/0-preinstall.sh index 8b7284b..65dc0e6 100755 --- a/scripts/0-preinstall.sh +++ b/scripts/0-preinstall.sh @@ -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