From 1e6412ea3139b680255a796676d7fb39f3478f61 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Fri, 5 Nov 2021 13:07:53 -0400 Subject: [PATCH] Update update_birdnet.sh --- scripts/update_birdnet.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.sh index e797ac0..7a33523 100755 --- a/scripts/update_birdnet.sh +++ b/scripts/update_birdnet.sh @@ -52,8 +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 - +sudo -u${USER} git -C ${HOME}/BirdNET-Pi checkout -f +sudo -u${USER} git -C ${HOME}/BirdNET-Pi pull -f # Trigger the new update_birdnet2.sh sudo -u${USER} ${my_dir}/update_birdnet2.sh