Merge pull request #1505 from openoms/tweak-menu

updateMenu: tweak whiptail window
This commit is contained in:
frennkie 2020-09-06 00:01:30 +02:00 committed by GitHub
commit 25c10e5e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,11 @@ source /home/admin/_version.info
clear
# Basic Options
OPTIONS=(RELEASE "RaspiBlitz Release Update/Recovery" \
LND "Interim LND Update Options" \
PATCH "Patch RaspiBlitz v${codeVersion}"
)
OPTIONS=(
RELEASE "RaspiBlitz Release Update/Recovery" \
LND "Interim LND Update Options" \
PATCH "Patch RaspiBlitz v${codeVersion}"
)
if [ "${bos}" == "on" ]; then
OPTIONS+=(BOS "Update Balance of Satoshis")
@ -23,7 +24,7 @@ if [ "${specter}" == "on" ]; then
OPTIONS+=(SPECTER "Update Cryptoadvance Specter")
fi
CHOICE=$(whiptail --clear --title "Update Options" --menu "" 12 55 5 "${OPTIONS[@]}" 2>&1 >/dev/tty)
CHOICE=$(whiptail --clear --title "Update Options" --menu "" 13 55 6 "${OPTIONS[@]}" 2>&1 >/dev/tty)
release()
{