From 77176ce18016f8101b91f441482707b206ecf9a5 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 25 Jan 2023 07:42:42 +0100 Subject: [PATCH] show sizes in Auto-Prepare --- usr/lib/archboot/installer/autoprepare.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/lib/archboot/installer/autoprepare.sh b/usr/lib/archboot/installer/autoprepare.sh index 24aeb38a4..12842037a 100644 --- a/usr/lib/archboot/installer/autoprepare.sh +++ b/usr/lib/archboot/installer/autoprepare.sh @@ -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}"