From e693285d751606f6b047348d9424c2d6f9f96404 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Wed, 27 Oct 2021 18:36:22 -0400 Subject: [PATCH] Create newinstaller.sh --- newinstaller.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 newinstaller.sh diff --git a/newinstaller.sh b/newinstaller.sh new file mode 100644 index 0000000..ebb6d0c --- /dev/null +++ b/newinstaller.sh @@ -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