mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-26 10:49:56 +02:00
Update alpine-zigbee2mqtt.sh
add `newt` check
This commit is contained in:
parent
b1abfa9ac6
commit
b10106aa2a
@ -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 -q 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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user