Clone shallow on installation

Just clone a single commit, which will be faster and save space/bandwidth.
This commit is contained in:
Adam Leskis
2022-09-01 19:55:34 +01:00
committed by GitHub
parent b0cceb5030
commit 7edd29f739
+1 -1
View File
@@ -24,7 +24,7 @@ if [[ ! -z $PACKAGES_MISSING ]] ; then
fi
branch=main
git clone -b $branch https://github.com/mcguirepr89/BirdNET-Pi.git ${HOME}/BirdNET-Pi &&
git clone -b $branch --depth=1 https://github.com/mcguirepr89/BirdNET-Pi.git ${HOME}/BirdNET-Pi &&
$HOME/BirdNET-Pi/scripts/install_birdnet.sh
if [ ${PIPESTATUS[0]} -eq 0 ];then