mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
show sizes in Auto-Prepare
This commit is contained in:
parent
66c6c66892
commit
77176ce180
1 changed files with 1 additions and 2 deletions
|
@ -11,9 +11,8 @@ _autoprepare() {
|
|||
: >/tmp/.device-names
|
||||
_DISKS=$(_blockdevices)
|
||||
if [[ "$(echo "${_DISKS}" | wc -w)" -gt 1 ]]; then
|
||||
_dialog --cr-wrap --msgbox "Available Disks:\n\n$(_getavaildisks)\n" 0 0
|
||||
#shellcheck disable=SC2046
|
||||
_dialog --menu "Select the storage drive to use:" 10 40 5 $(_blockdevices _) 2>"${_ANSWER}" || return 1
|
||||
_dialog --menu "Select the storage drive to use:" 10 40 5 $(_getavaildisks) 2>"${_ANSWER}" || return 1
|
||||
_DISK=$(cat "${_ANSWER}")
|
||||
else
|
||||
_DISK="${_DISKS}"
|
||||
|
|
Loading…
Reference in a new issue