Update build.func

add option to choose Debian version
pull/1593/head
tteckster 1 year ago committed by GitHub
parent 72f3648730
commit ca4a3ecef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -143,9 +143,20 @@ advanced_settings() {
fi
if [ "$var_os" == "debian" ]; then
var_version="11"
var_version=""
while [ -z "$var_version" ]; do
if var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
"11" "Bullseye" OFF \
"12" "Bookworm" OFF \
3>&1 1>&2 2>&3); then
if [ -n "$var_version" ]; then
echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}"
fi
else
exit-script
fi
done
fi
if [ "$var_os" == "ubuntu" ]; then
var_version=""

Loading…
Cancel
Save

Powered by BW's shoe-string budget.