fixes #52 installer did not set the main branch branch correctly

This commit is contained in:
Lars Berning 2022-01-22 20:59:01 +01:00
parent 0c55c1ae71
commit 5a0afce81f
No known key found for this signature in database
GPG Key ID: 028E73C9E1D8A0B3
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ fi
cd $INSTALL_DIR
# get project code from repository
sudo git init -q
sudo git init -q -b main
sudo git config remote.origin.url $GIT_REMOTE
sudo git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
# prevent altering line endings