Explorar o código

Update alpine-docker.sh

add `newt` check
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
2facedfe71
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      ct/alpine-docker.sh

+ 3 - 0
ct/alpine-docker.sh

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