From c1763d592492c93f00a41e1b22e31c372df283e2 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Fri, 15 Apr 2022 09:45:43 -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 be54a18..8046c3a 100755 --- a/scripts/update_birdnet.sh +++ b/scripts/update_birdnet.sh @@ -12,6 +12,7 @@ sudo ln -sf $my_dir/* /usr/local/bin/ if ! grep python3 <(head -n1 $my_dir/analyze.py);then echo "Ensure all python scripts use the virtual environment" sed -si "1 i\\#\!$(realpath $(dirname $my_dir))/BirdNET-Pi/birdnet/bin/python3" $my_dir/*.py +fi if ! grep PRIVACY_MODE /etc/birdnet/birdnet.conf;then sudo -u${USER} echo "PRIVACY_MODE=off" >> /etc/birdnet/birdnet.conf fi