Update build.func

This commit is contained in:
CanbiZ 2025-03-31 11:04:20 +02:00
parent 60c5bbe07e
commit 0cee46802b

View File

@ -1102,7 +1102,9 @@ select_distribution() {
"ubuntu" "" off \ "ubuntu" "" off \
--extra-button --extra-label "Back" --ok-label "Next" --cancel-label "Exit" 3>&1 1>&2 2>&3) --extra-button --extra-label "Back" --ok-label "Next" --cancel-label "Exit" 3>&1 1>&2 2>&3)
else else
result=$(dialog --backtitle "[dev] Proxmox VE Helper Scripts" \ exec 3>&1
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" "" on \ "debian" "" on \
@ -1110,8 +1112,9 @@ select_distribution() {
--ok-label "Next" \ --ok-label "Next" \
--cancel-label "Exit" \ --cancel-label "Exit" \
--extra-button --extra-label "Back" \ --extra-button --extra-label "Back" \
3>&1 1>&2 2>&3) 2>&1 1>&3)
exitcode=$?
exec 3>&-
fi fi
exitcode=$? exitcode=$?