fix dialog

This commit is contained in:
CanbiZ 2025-03-31 10:52:42 +02:00
parent f162a4dc9f
commit 60c5bbe07e

View File

@ -1105,9 +1105,13 @@ select_distribution() {
result=$(dialog --backtitle "[dev] Proxmox VE Helper Scripts" \ result=$(dialog --backtitle "[dev] Proxmox VE Helper Scripts" \
--title "DISTRIBUTION" \ --title "DISTRIBUTION" \
--radiolist "Choose Distribution:" 10 58 2 \ --radiolist "Choose Distribution:" 10 58 2 \
"debian" "" off \ "debian" "" on \
"ubuntu" "" on \ "ubuntu" "" off \
--extra-button --extra-label "Back" --ok-label "Next" --cancel-label "Exit" 3>&1 1>&2 2>&3) --ok-label "Next" \
--cancel-label "Exit" \
--extra-button --extra-label "Back" \
3>&1 1>&2 2>&3)
fi fi
exitcode=$? exitcode=$?
@ -1147,8 +1151,12 @@ select_version() {
result=$(dialog --backtitle "[dev] Proxmox VE Helper Scripts" \ result=$(dialog --backtitle "[dev] Proxmox VE Helper Scripts" \
--title "VERSION" \ --title "VERSION" \
--radiolist "Choose Version:" 15 58 5 "${list[@]}" \ --radiolist "Choose Version:" 15 58 5 \
--extra-button --extra-label "Back" --ok-label "Next" --cancel-label "Exit" 3>&1 1>&2 2>&3) "${list[@]}" \
--ok-label "Next" \
--cancel-label "Exit" \
--extra-button --extra-label "Back" \
3>&1 1>&2 2>&3)
exitcode=$? exitcode=$?