mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
#1138 changing Repo/ Branch UI
This commit is contained in:
parent
c28d8a8b5e
commit
0c9a2a089d
1 changed files with 14 additions and 2 deletions
|
@ -141,14 +141,26 @@ patch()
|
|||
exit 1
|
||||
;;
|
||||
REPO)
|
||||
echo "TODO"
|
||||
clear
|
||||
newGitHubUser=$(whiptail --inputbox "\nPlease enter the GitHub USERNAME of the forked RaspiBlitz Repo?" 10 38 ${activeGitHubUser} --title "Change Sync Repo" 3>&1 1>&2 2>&3)
|
||||
exitstatus=$?
|
||||
if [ $exitstatus = 0 ]; then
|
||||
newGitHubUser=$(echo "${newGitHubUser}" | cut -d " " -f1)
|
||||
echo "--> " $newGitHubUser
|
||||
fi
|
||||
echo "PRESS ENTER to return to PATCH MENU."
|
||||
read key
|
||||
patch
|
||||
exit 1
|
||||
;;
|
||||
BRANCH)
|
||||
echo "TODO"
|
||||
clear
|
||||
newGitHubBranch=$(whiptail --inputbox "\nPlease enter the GitHub BRANCH of the RaspiBlitz Repo '${activeGitHubUser}'?" 10 38 ${activeBranch} --title "Change Sync Branch" 3>&1 1>&2 2>&3)
|
||||
exitstatus=$?
|
||||
if [ $exitstatus = 0 ]; then
|
||||
newGitHubBranch=$(echo "${newGitHubBranch}" | cut -d " " -f1)
|
||||
echo "--> " $newGitHubBranch
|
||||
fi
|
||||
echo "PRESS ENTER to return to PATCH MENU."
|
||||
read key
|
||||
patch
|
||||
|
|
Loading…
Add table
Reference in a new issue