A live bird collage card for your Home Assistant dashboard.
Update update_birdnet.sh
Patrick McGuirec1763d592492
diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.shindex be54a180..8046c3a4 100755--- a/scripts/update_birdnet.sh+++ b/scripts/update_birdnet.sh@@ -12,6 +12,7 @@ sudo ln -sf $my_dir/* /usr/local/bin/if ! grep python3 <(head -n1 $my_dir/analyze.py);thenecho "Ensure all python scripts use the virtual environment"sed -si "1 i\\#\!$(realpath $(dirname $my_dir))/BirdNET-Pi/birdnet/bin/python3" $my_dir/*.py+fiif ! grep PRIVACY_MODE /etc/birdnet/birdnet.conf;thensudo -u${USER} echo "PRIVACY_MODE=off" >> /etc/birdnet/birdnet.conffi