Merge pull request #189 from alibo/patch-1

Use --depth option during cloning the repo
This commit is contained in:
Bill Zimmerman 2018-04-23 10:55:42 +02:00 committed by GitHub
commit 51d76ec758
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
}