Update alpine-docker.sh

add `newt` check
This commit is contained in:
tteckster 2023-03-24 13:23:58 -04:00 committed by GitHub
parent 2b5ff5bb0e
commit 2facedfe71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,9 @@ function default_settings() {
} }
function update_script() { function update_script() {
if ! apk -e info newt >/dev/null 2>&1; then
apk add newt
fi
while true; do while true; do
CHOICE=$( CHOICE=$(
whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \ whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \