Merge branch 'main' into Nachtzuster_improvements_to_birdnet_analysis

This commit is contained in:
Patrick McGuire
2022-05-05 16:56:48 -04:00
committed by GitHub
12 changed files with 156 additions and 91 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Update BirdNET-Pi
# Update BirdNET-Pi's Git Repo
source /etc/birdnet/birdnet.conf
trap 'exit 1' SIGINT SIGHUP
USER=$(awk -F: '/1000/ {print $1}' /etc/passwd)
@@ -11,4 +11,7 @@ sudo -u${USER} git -C $my_dir pull -f
sudo systemctl daemon-reload
sudo -u${USER} git -C $my_dir stash pop
sudo ln -sf $my_dir/* /usr/local/bin/
sudo $my_dir/update_birdnet_snippets.sh
# The script below handles changes to the host system
# Any additions to the updater should be placed in that file.
sudo $my_dir/update_birdnet_snippets.sh