Update newinstaller.sh
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Simple new installer
|
# Simple new installer
|
||||||
HOME=/home/patrick
|
HOME=/home/pi
|
||||||
USER=patrick
|
USER=pi
|
||||||
branch=git_install
|
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/${USER}/BirdNET-Pi/scripts/birdnet-pi-config
|
${HOME}/BirdNET-Pi/scripts/birdnet-pi-config
|
||||||
|
|||||||
Reference in New Issue
Block a user