From c20d1ace9b142ce3de67f0ee168b2734f2a26eb4 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Mon, 11 Apr 2022 11:30:24 -0400 Subject: [PATCH] ugh --- newinstaller.sh | 4 ++-- scripts/install_config.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/newinstaller.sh b/newinstaller.sh index d2b8c2d..6b4dcda 100644 --- a/newinstaller.sh +++ b/newinstaller.sh @@ -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 diff --git a/scripts/install_config.sh b/scripts/install_config.sh index 6e4e50e..2189430 100755 --- a/scripts/install_config.sh +++ b/scripts/install_config.sh @@ -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() {