From 3b1c9b23c5ae3999a1b8b6905e3b3030166dc99f Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 7 Dec 2020 09:55:01 +0000 Subject: [PATCH] Update installer w/ -c advice.detachedHead=false --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index fb540b67..ce5adcb1 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -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