Update update_birdnet.sh

This commit is contained in:
Patrick McGuire
2022-04-15 09:47:54 -04:00
committed by GitHub
parent c1763d5924
commit 01cc0c6e18
+1 -1
View File
@@ -2,7 +2,7 @@
# Update BirdNET-Pi
source /etc/birdnet/birdnet.conf
trap 'exit 1' SIGINT SIGHUP
my_dir=$(realpath $(dirname $0))
my_dir=$HOME/BirdNET-Pi/scripts
sudo -u${USER} git -C $my_dir stash
sudo -u${USER} git -C $my_dir pull -f