From 088bf996375f2b0a5d560ef473a831e50026850f Mon Sep 17 00:00:00 2001 From: Ali Borhani Date: Mon, 23 Apr 2018 01:02:07 +0430 Subject: [PATCH] Use --depth option during cloning the repo --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index 2bf9152f..95926ce5 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -124,7 +124,7 @@ function download_latest_files() { fi install_log "Cloning latest files from github" - git clone https://github.com/billz/raspap-webgui /tmp/raspap-webgui || install_error "Unable to download files from github" + git clone --depth 1 https://github.com/billz/raspap-webgui /tmp/raspap-webgui || install_error "Unable to download files from github" sudo mv /tmp/raspap-webgui $webroot_dir || install_error "Unable to move raspap-webgui to web root" }