Skip to content

A live bird collage card for your Home Assistant dashboard.

Removing stash+pop git workflow from update_birdnet.sh

Jake Herbst54a6ecf68bf5
diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.sh
index a6996703..9c6b865a 100755
--- a/scripts/update_birdnet.sh
+++ b/scripts/update_birdnet.sh
@@ -7,10 +7,8 @@ HOME=$(awk -F: '/1000/ {print $6}' /etc/passwd)
my_dir=$HOME/BirdNET-Pi/scripts
sudo -u$USER git -C $my_dir rm privacy_server.py
-sudo -u${USER} git -C $my_dir stash
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/
# The script below handles changes to the host system