1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Update installer w/ -c advice.detachedHead=false

This commit is contained in:
billz 2020-12-07 09:55:01 +00:00
parent 6aaa1bd7a4
commit 3b1c9b23c5

View File

@ -297,7 +297,7 @@ function _download_latest_files() {
fi
_install_log "Cloning latest 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"
git clone --branch $branch --depth 1 -c advice.detachedHead=false $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