A live bird collage card for your Home Assistant dashboard.
less verbose
mcguirepr89bf517091cfe4
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.shindex 90ed2e8a..70971c3a 100755--- a/scripts/update_birdnet_snippets.sh+++ b/scripts/update_birdnet_snippets.sh@@ -60,7 +60,7 @@ fiif ! grep RTSP_STREAM /etc/birdnet/birdnet.conf &>/dev/null;thensudo -u$USER echo "RTSP_STREAM=" >> /etc/birdnet/birdnet.conffi-if grep bash $HOME/BirdNET-Pi/templates/web_terminal.service;then+if grep bash $HOME/BirdNET-Pi/templates/web_terminal.service &>/dev/null;thensudo sed -i '/User/d;s/bash/login/g' $HOME/BirdNET-Pi/templates/web_terminal.servicesudo systemctl daemon-reloadsudo systemctl restart web_terminal.service@@ -75,8 +75,7 @@ if systemctl list-unit-files pushed_notifications.service &>/dev/null;thensudo rm $HOME/BirdNET-Pi/templates/pushed_notifications.servicefi-if [ ! -f $HOME/BirdNET-Pi/model/labels.txt ]-then+if [ ! -f $HOME/BirdNET-Pi/model/labels.txt ];then$my_dir/install_language_label.sh -l $DATABASE_LANG \&& logger "[$0] Installed new language label file for '$DATABASE_LANG'";fi