Skip to content

A live bird collage card for your Home Assistant dashboard.

Clone shallow on installation

Adam Leskis7edd29f7398d
diff --git a/newinstaller.sh b/newinstaller.sh
index cb202ca2..4dab014a 100755
--- a/newinstaller.sh
+++ b/newinstaller.sh
@@ -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