From 2b5ff5bb0ed9e238e17dd292f285f1ebada6056b Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 24 Mar 2023 13:23:11 -0400 Subject: [PATCH] Update alpine-adguard.sh add `newt` check --- ct/alpine-adguard.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ct/alpine-adguard.sh b/ct/alpine-adguard.sh index 39e27995..7b2b79cb 100644 --- a/ct/alpine-adguard.sh +++ b/ct/alpine-adguard.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 2 \