Update alpine-zigbee2mqtt.sh

add `newt` check
This commit is contained in:
tteckster 2023-03-24 13:27:20 -04:00 committed by GitHub
parent b1abfa9ac6
commit b10106aa2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

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