mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
branch master does not exist (#3389)
githubRepo lnbits-legends gets redirected to lnbits the default branch of lnbits is main
This commit is contained in:
parent
ed40489e45
commit
30211575c3
@ -348,12 +348,11 @@ if [ "$1" = "repo" ]; then
|
||||
fi
|
||||
githubBranch="$3"
|
||||
if [ ${#githubBranch} -eq 0 ]; then
|
||||
githubBranch="master"
|
||||
githubBranch="main"
|
||||
fi
|
||||
|
||||
# check if repo exists
|
||||
#githubRepo="https://github.com/${githubUser}/lnbits"
|
||||
githubRepo="https://github.com/${githubUser}/lnbits-legend"
|
||||
githubRepo="https://github.com/${githubUser}/lnbits"
|
||||
|
||||
httpcode=$(curl -s -o /dev/null -w "%{http_code}" ${githubRepo})
|
||||
if [ "${httpcode}" != "200" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user