Update build.func
This commit is contained in:
parent
60c5bbe07e
commit
0cee46802b
@ -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=$?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user