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

View File

@@ -8,10 +8,11 @@ source /home/admin/_version.info
clear clear
# Basic Options # Basic Options
OPTIONS=(RELEASE "RaspiBlitz Release Update/Recovery" \ OPTIONS=(
LND "Interim LND Update Options" \ RELEASE "RaspiBlitz Release Update/Recovery" \
PATCH "Patch RaspiBlitz v${codeVersion}" LND "Interim LND Update Options" \
) PATCH "Patch RaspiBlitz v${codeVersion}"
)
if [ "${bos}" == "on" ]; then if [ "${bos}" == "on" ]; then
OPTIONS+=(BOS "Update Balance of Satoshis") OPTIONS+=(BOS "Update Balance of Satoshis")
@@ -23,7 +24,7 @@ if [ "${specter}" == "on" ]; then
OPTIONS+=(SPECTER "Update Cryptoadvance Specter") OPTIONS+=(SPECTER "Update Cryptoadvance Specter")
fi 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() release()
{ {