This commit is contained in:
mcguirepr89
2022-04-11 11:30:24 -04:00
parent 0ab744887e
commit c20d1ace9b
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ if ! which git &> /dev/null;then
sudo apt update
sudo apt -y install git
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}/BirdNET-Pi/scripts/install_birdnet.sh
$HOME/BirdNET-Pi/scripts/install_birdnet.sh
if [ ${PIPESTATUS[0]} -eq 0 ];then
echo "Installation completed successfully"
sudo reboot
+2 -1
View File
@@ -1,9 +1,10 @@
#!/usr/bin/env bash
# Creates and installs the /etc/birdnet/birdnet.conf file
#set -x # Uncomment to enable debugging
set -x # Uncomment to enable debugging
set -e
trap 'exit 1' SIGINT SIGHUP
echo "Beginning $0"
birdnet_conf=$my_dir/birdnet.conf
install_config() {