Update newinstaller.sh

This commit is contained in:
Patrick McGuire
2021-12-12 15:07:27 -05:00
committed by GitHub
parent 4be59f7289
commit d381e65787
+2 -2
View File
@@ -2,10 +2,10 @@
# Simple new installer # Simple new installer
HOME=/home/pi HOME=/home/pi
USER=pi USER=pi
branch=main branch=git_install
sudo apt update sudo apt update
if ! which git &> /dev/null;then if ! which git &> /dev/null;then
sudo apt -y install git sudo apt -y install git
fi fi
git clone -b ${branch} https://github.com/mcguirepr89/BirdNET-Pi.git ${HOME}/BirdNET-Pi git clone -b ${branch} https://github.com/mcguirepr89/BirdNET-Pi.git ${HOME}/BirdNET-Pi
/home/pi/BirdNET-Pi/birdnet-pi-config /home/${USER}/BirdNET-Pi/birdnet-pi-config