Set default install branch to latest release

This commit is contained in:
billz
2020-12-07 09:47:04 +00:00
parent 3f4901495a
commit 6aaa1bd7a4
3 changed files with 3 additions and 14 deletions

View File

@@ -297,7 +297,7 @@ function _download_latest_files() {
fi
_install_log "Cloning latest files from github"
git clone --branch $branch --depth 1 $git_source_url /tmp/raspap-webgui || _install_status 1 "Unable to download files from github"
git clone --branch $branch --depth 1 --quiet $git_source_url /tmp/raspap-webgui || _install_status 1 "Unable to download files from github"
sudo mv /tmp/raspap-webgui $webroot_dir || _install_status 1 "Unable to move raspap-webgui to web root"
if [ "$upgrade" == 1 ]; then