mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
#1138 update menu GUI
This commit is contained in:
parent
b817d268c4
commit
6ba6645026
1 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ BUT BEWARE: This means RaspiBlitz will contact GitHub,
|
||||||
hotfix the code and might compromise your security.
|
hotfix the code and might compromise your security.
|
||||||
|
|
||||||
Do you want to Patch your RaspiBlitz now?
|
Do you want to Patch your RaspiBlitz now?
|
||||||
" 18 62
|
" 18 60
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -108,12 +108,12 @@ Do you want to Patch your RaspiBlitz now?
|
||||||
source <(sudo /home/admin/XXsyncScripts.sh info)
|
source <(sudo /home/admin/XXsyncScripts.sh info)
|
||||||
|
|
||||||
# Patch Options
|
# Patch Options
|
||||||
OPTIONS=(PATCH "Patch/Sync from GitHub Repo: ${activeGitHubUser}" \
|
OPTIONS=(PATCH "Patch/Sync RaspiBlitz with GitHub Repo" \
|
||||||
REPO "Change GitHub Repo to sync with" \
|
REPO "Change GitHub Repo to sync with" \
|
||||||
BRANCH "Change GitHub branch to sync with"
|
BRANCH "Change GitHub branch to sync with"
|
||||||
)
|
)
|
||||||
|
|
||||||
CHOICE=$(whiptail --clear --title "Patch Options" --menu "GitHub-User: ${activeGitHubUser} Branch: ${activeBranch}" 15 62 8 "${OPTIONS[@]}" 2>&1 >/dev/tty)
|
CHOICE=$(whiptail --clear --title "GitHub-User: ${activeGitHubUser} Branch: ${activeBranch}" --menu "" 10 55 8 "${OPTIONS[@]}" 2>&1 >/dev/tty)
|
||||||
|
|
||||||
clear
|
clear
|
||||||
case $CHOICE in
|
case $CHOICE in
|
||||||
|
|
Loading…
Add table
Reference in a new issue