Update newinstaller.sh
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user