From 95563a4d9f4c5af4badb0d3ded683d4570aabbb8 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Mon, 18 Oct 2021 13:07:45 -0400 Subject: [PATCH] Update update_birdnet.sh --- scripts/update_birdnet.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.sh index 96792ba..e797ac0 100755 --- a/scripts/update_birdnet.sh +++ b/scripts/update_birdnet.sh @@ -52,6 +52,7 @@ remove_services remove_scripts # Stage 2 does a git pull to fetch new things +sudo -u${USER} git -C ${HOME}/BirdNET-Pi checkout -f || exit 1 sudo -u${USER} git -C ${HOME}/BirdNET-Pi pull -f || exit 1 # Trigger the new update_birdnet2.sh