Update install.sh
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
bcb73fdea8
commit
4c1a6b75b6
|
@ -58,7 +58,7 @@ partDisks() {
|
||||||
parts=$(lsblk "$disk" -pnl | sed -n '2~1p' | wc -l)
|
parts=$(lsblk "$disk" -pnl | sed -n '2~1p' | wc -l)
|
||||||
[ "$parts" -lt 2 ] && printAndExit "You must at least create boot and root partitions."
|
[ "$parts" -lt 2 ] && printAndExit "You must at least create boot and root partitions."
|
||||||
|
|
||||||
# TODO: Ask for home partition
|
# TODO: Ask if the user wants a home partition
|
||||||
formatOptions <(lsblk "${disk}" -pnlo NAME,SIZE,MOUNTPOINTS | sed -n '2~1p')
|
formatOptions <(lsblk "${disk}" -pnlo NAME,SIZE,MOUNTPOINTS | sed -n '2~1p')
|
||||||
result=$(dialog --menu "\nSelect the boot partition." 0 30 "$parts" "${options[@]}" 3>&1 1>&2 2>&3)
|
result=$(dialog --menu "\nSelect the boot partition." 0 30 "$parts" "${options[@]}" 3>&1 1>&2 2>&3)
|
||||||
exitIfCancel "You must select the boot partition."
|
exitIfCancel "You must select the boot partition."
|
||||||
|
|
Loading…
Reference in New Issue