Refactor
This commit is contained in:
parent
00e64cd8a4
commit
fe2d89b6bd
|
@ -59,7 +59,8 @@ partDisks() {
|
||||||
if [ $whipStatus -eq 1 ]; then
|
if [ $whipStatus -eq 1 ]; then
|
||||||
autoSelection=false
|
autoSelection=false
|
||||||
calcHeightAndRun "whiptail --msgbox \"You will partition the disk yourself and then, when finished, you will continue with the installation.\" HEIGHT 62"
|
calcHeightAndRun "whiptail --msgbox \"You will partition the disk yourself and then, when finished, you will continue with the installation.\" HEIGHT 62"
|
||||||
partTool=$(whiptail --title "Select the partitioning tool." --menu "" 0 0 0 "fdisk" "" "sfdisk" "" "cfdisk" "" "gdisk" "" "cgdisk" "" "sgdisk" "" 3>&1 1>&2 2>&3)
|
partPrograms=("fdisk" "" "sfdisk" "" "cfdisk" "" "gdisk" "" "cgdisk" "" "sgdisk" "")
|
||||||
|
partTool=$(whiptail --title "Select the partitioning tool." --menu "" 0 0 0 "${partPrograms[@]}" 3>&1 1>&2 2>&3)
|
||||||
exitIfCancel "You must select a partitioning tool."
|
exitIfCancel "You must select a partitioning tool."
|
||||||
$partTool "$disk"
|
$partTool "$disk"
|
||||||
parts=$(lsblk "$disk" -pnl | sed -n '2~1p' | wc -l)
|
parts=$(lsblk "$disk" -pnl | sed -n '2~1p' | wc -l)
|
||||||
|
|
|
@ -51,6 +51,7 @@ orchis-theme-bin,N,C
|
||||||
pam-gnupg,N,C
|
pam-gnupg,N,C
|
||||||
pambase,R,B
|
pambase,R,B
|
||||||
picom-git,N,C
|
picom-git,N,C
|
||||||
|
nvimpager-git,N,C
|
||||||
tela-icon-theme-bin,N,C
|
tela-icon-theme-bin,N,C
|
||||||
oh-my-zsh-git,N,C
|
oh-my-zsh-git,N,C
|
||||||
ttf-meslo-nerd-font-powerlevel10k,N,C
|
ttf-meslo-nerd-font-powerlevel10k,N,C
|
||||||
|
|
|
Loading…
Reference in New Issue