From a0cd676c32d4b23d5d7d79ecba52338be31ee26c Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 3 Jan 2022 21:35:55 -0300 Subject: [PATCH] Fix another bug in mountPart() --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d65cbbb..538a906 100755 --- a/install.sh +++ b/install.sh @@ -159,8 +159,9 @@ formatPart() { mountPart() { mount "$rootPart" /mnt 2>&1 | debug if [ $autoSelection = false ]; then - bootPath=$(whiptail --title "Select where to mount boot partition." --menu "" 0 0 0 "/boot/efi" "" "/boot" "" "OTHER" "" 3>&1 1>&2 2>&3) + result=$(whiptail --title "Select where to mount boot partition." --menu "" 0 0 0 "/boot/efi" "" "/boot" "" "==OTHER==" "" 3>&1 1>&2 2>&3) exitIfCancel "You must select a path." "partDisks" + bootPath=$(echo $result | sed 's/^\///g') if [ "$result" = "OTHER" ]; then local IFS=' ' result=$(whiptail --inputbox "Enter the absolute path." 0 0 3>&1 1>&2 2>&3)