A live bird collage card for your Home Assistant dashboard.
Make updating 77% faster (20sec vs 1min 30sec)
ehpersonal38ae1e3bf96fe4
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.shindex 65c24f12..560c9410 100755--- a/scripts/update_birdnet_snippets.sh+++ b/scripts/update_birdnet_snippets.sh@@ -7,8 +7,10 @@ HOME=$(awk -F: '/1000/ {print $6}' /etc/passwd)my_dir=$HOME/BirdNET-Pi/scripts# Sets proper permissions and ownership-sudo -E chown -R $USER:$USER $HOME/*-sudo chmod -R g+wr $HOME/*+#sudo -E chown -R $USER:$USER $HOME/*+#sudo chmod -R g+wr $HOME/*+find $HOME/* -not -user $USER -execdir sudo -E chown $USER:$USER {} \++find $HOME/* -not -user $USER -execdir sudo chmod g+wr {} \+# Create blank sitename as it's optional. First time install will use $HOSTNAME.if ! grep SITE_NAME /etc/birdnet/birdnet.conf &>/dev/null;then