ugh
This commit is contained in:
+2
-2
@@ -11,9 +11,9 @@ if ! which git &> /dev/null;then
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
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}/BirdNET-Pi/scripts/install_birdnet.sh
|
$HOME/BirdNET-Pi/scripts/install_birdnet.sh
|
||||||
if [ ${PIPESTATUS[0]} -eq 0 ];then
|
if [ ${PIPESTATUS[0]} -eq 0 ];then
|
||||||
echo "Installation completed successfully"
|
echo "Installation completed successfully"
|
||||||
sudo reboot
|
sudo reboot
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Creates and installs the /etc/birdnet/birdnet.conf file
|
# Creates and installs the /etc/birdnet/birdnet.conf file
|
||||||
#set -x # Uncomment to enable debugging
|
set -x # Uncomment to enable debugging
|
||||||
set -e
|
set -e
|
||||||
trap 'exit 1' SIGINT SIGHUP
|
trap 'exit 1' SIGINT SIGHUP
|
||||||
|
|
||||||
|
echo "Beginning $0"
|
||||||
birdnet_conf=$my_dir/birdnet.conf
|
birdnet_conf=$my_dir/birdnet.conf
|
||||||
|
|
||||||
install_config() {
|
install_config() {
|
||||||
|
|||||||
Reference in New Issue
Block a user