Removing stash+pop git workflow from update_birdnet.sh
This commit is contained in:
@@ -7,10 +7,8 @@ HOME=$(awk -F: '/1000/ {print $6}' /etc/passwd)
|
|||||||
my_dir=$HOME/BirdNET-Pi/scripts
|
my_dir=$HOME/BirdNET-Pi/scripts
|
||||||
|
|
||||||
sudo -u$USER git -C $my_dir rm privacy_server.py
|
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 -u${USER} git -C $my_dir pull -f
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo -u${USER} git -C $my_dir stash pop
|
|
||||||
sudo ln -sf $my_dir/* /usr/local/bin/
|
sudo ln -sf $my_dir/* /usr/local/bin/
|
||||||
|
|
||||||
# The script below handles changes to the host system
|
# The script below handles changes to the host system
|
||||||
|
|||||||
Reference in New Issue
Block a user