A live bird collage card for your Home Assistant dashboard.
Update update_birdnet.sh
Patrick McGuire5075a0383052
diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.shindex 01359630..a6996703 100755--- a/scripts/update_birdnet.sh+++ b/scripts/update_birdnet.sh@@ -6,6 +6,7 @@ USER=$(awk -F: '/1000/ {print $1}' /etc/passwd)HOME=$(awk -F: '/1000/ {print $6}' /etc/passwd)my_dir=$HOME/BirdNET-Pi/scripts+sudo -u$USER git -C $my_dir rm privacy_server.pysudo -u${USER} git -C $my_dir stashsudo -u${USER} git -C $my_dir pull -fsudo systemctl daemon-reload@@ -14,4 +15,4 @@ sudo ln -sf $my_dir/* /usr/local/bin/# 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\ No newline at end of file+sudo $my_dir/update_birdnet_snippets.sh