mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Use --depth option during cloning the repo
This commit is contained in:
parent
f3fffd534a
commit
088bf99637
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user