Removing stash+pop git workflow from update_birdnet.sh

This commit is contained in:
Jake Herbst
2022-05-17 19:13:13 -04:00
parent 873dfb12d6
commit 54a6ecf68b
-2
View File
@@ -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