mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
unify select buttons
This commit is contained in:
parent
c51ff8e39f
commit
daa94582ba
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue