From 54a6ecf68bf581705bb51bb2a5b4045f53fe057d Mon Sep 17 00:00:00 2001 From: Jake Herbst Date: Tue, 17 May 2022 19:13:13 -0400 Subject: [PATCH] Removing stash+pop git workflow from update_birdnet.sh --- scripts/update_birdnet.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.sh index a699670..9c6b865 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