From 3bb99dcfa2fb2e04a647bda5ec2a8f1f8d6f7e64 Mon Sep 17 00:00:00 2001 From: Himprakash Deka <61367380+HiDe-Techno-Tips@users.noreply.github.com> Date: Mon, 28 Mar 2022 18:17:44 +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 b46c5e2..8b7284b 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 [[ $(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