fix DEV to _DISK

This commit is contained in:
Tobias Powalowski 2023-01-15 22:08:16 +01:00
parent 91631347c7
commit 2f93203a6a

View file

@ -41,7 +41,7 @@ _check_gpt() {
_dialog --msgbox "Now you'll be put into cfdisk where you can partition your storage drive. You should make a swap partition and as many data partitions as you will need." 7 60 _dialog --msgbox "Now you'll be put into cfdisk where you can partition your storage drive. You should make a swap partition and as many data partitions as you will need." 7 60
clear && cfdisk "${_DISK}" clear && cfdisk "${_DISK}"
# reread partitiontable for kernel # reread partitiontable for kernel
partprobe "${_DEV}" partprobe "${_DISK}"
fi fi
} }