From 6334367ac0257514967025487026d6fe6b351afe Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Sat, 8 Apr 2023 17:41:52 -0400 Subject: [PATCH] 40% faster updates --- scripts/update_birdnet_snippets.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh index dce9e8d..1d03b0b 100755 --- a/scripts/update_birdnet_snippets.sh +++ b/scripts/update_birdnet_snippets.sh @@ -9,8 +9,8 @@ my_dir=$HOME/BirdNET-Pi/scripts # Sets proper permissions and ownership #sudo -E chown -R $USER:$USER $HOME/* #sudo chmod -R g+wr $HOME/* -find $HOME/* -not -user $USER -execdir sudo -E chown $USER:$USER {} \+ -find $HOME/* -not -user $USER -execdir sudo chmod g+wr {} \+ +find $HOME/Bird* -not -user $USER -execdir sudo -E chown $USER:$USER {} \+ +find $HOME/Bird* -not -user $USER -execdir sudo chmod g+wr {} \+ chmod 666 ~/BirdNET-Pi/scripts/*.txt chmod 666 ~/BirdNET-Pi/*.txt find $HOME/BirdNET-Pi -path "$HOME/BirdNET-Pi/birdnet" -prune -o -type f ! -perm /o=w -exec chmod a+w {} \; @@ -130,8 +130,7 @@ if ! grep '\-\-browser.gatherUsageStats false' $HOME/BirdNET-Pi/templates/birdne fi # Make IceCast2 a little more secure -sudo sed -i 's|