This commit is contained in:
Santiago Lo Coco 2021-12-25 20:13:15 -03:00
parent 68dcffe3e2
commit a3e506e2cc
1 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,8 @@ showDisks() {
formatOptions $(lsblk -d -p -n -l -o NAME,SIZE -e 7,11) formatOptions $(lsblk -d -p -n -l -o NAME,SIZE -e 7,11)
result=$(whiptail --title "Select a disk" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3) result=$(whiptail --title "Select a disk" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3)
disk=${result%%\ *} disk=$(echo $result | cut -d' ' -f1)
echo $disk
} }
partDisks() { partDisks() {
@ -217,4 +218,4 @@ runScript() {
finishInstallation finishInstallation
} }
# runScript runScript