Create newinstaller.sh

This commit is contained in:
Patrick McGuire
2021-10-27 18:36:22 -04:00
committed by GitHub
parent 7618ff1a58
commit e693285d75
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Simple new installer
HOME=/home/pi
USER=pi
branch=newinstaller
sudo apt update
if ! which git &> /dev/null;then
sudo apt -y install git
fi
git clone --depth 1 -b ${branch} https://github.com/mcguirepr89/BirdNET-Pi.git ${HOME}/BirdNET-Pi
${HOME}/BirdNET-Pi/birdnet-pi-config