From a1115047cb5766aaa5d1003812fa30bcc66932e5 Mon Sep 17 00:00:00 2001 From: natemaia Date: Fri, 27 Jul 2018 21:51:57 -0700 Subject: [PATCH] Don't auto select a boot partition for BIOS systems when only one partition is available --- src/installer | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/installer b/src/installer index 152ce1a..97ab82c 100755 --- a/src/installer +++ b/src/installer @@ -1021,14 +1021,9 @@ select_efi_partition() { } select_bios_boot_partition() { - if (( COUNT == 1 )); then - BOOT_PART="$(awk 'NF > 0 {print $1}' <<< "$PARTS")" - infobox "$_PrepMount" "\nOnly one partition available: $BOOT_PART\n" - else - tput civis - BOOT_PART="$(dialog --cr-wrap --stdout --backtitle "$BT" --title "$_PrepMount" \ - --menu "$_SelBiosBody" 0 0 0 "$_Skip" "-" $PARTS)" - fi + tput civis + BOOT_PART="$(dialog --cr-wrap --stdout --backtitle "$BT" --title "$_PrepMount" \ + --menu "$_SelBiosBody" 0 0 0 "$_Skip" "-" $PARTS)" if [[ $? != 0 || $BOOT_PART == "$_Skip" || $BOOT_PART == "" ]]; then return 0