From daa94582ba53cba5b5b804e279343b44b7749670 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 3 Jun 2024 20:49:34 +0200 Subject: [PATCH] unify select buttons --- usr/lib/archboot/installer/partition.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/installer/partition.sh b/usr/lib/archboot/installer/partition.sh index d78bdf763..49d4ac459 100644 --- a/usr/lib/archboot/installer/partition.sh +++ b/usr/lib/archboot/installer/partition.sh @@ -41,9 +41,9 @@ _partition() { while true; do # Prompt the user with a list of known disks #shellcheck disable=SC2086 - _dialog --title " Partition Device " --no-cancel --menu "" 13 45 6 ${_DISKS} "OTHER" "_" "< Back" "Return To Previous Menu" 2>"${_ANSWER}" || return 1 + _dialog --title " Partition Device " --no-cancel --menu "" 13 45 6 ${_DISKS} "> CUSTOM" "Your Custom Device" "< Back" "Return To Previous Menu" 2>"${_ANSWER}" || return 1 _DISK=$(cat "${_ANSWER}") - if [[ "${_DISK}" == "OTHER" ]]; then + if [[ "${_DISK}" == "> CUSTOM" ]]; then _dialog --inputbox "Enter the full path to the device you wish to partition" 8 65 "/dev/sda" 2>"${_ANSWER}" || _DISK="" _DISK=$(cat "${_ANSWER}") fi