From 633ee78555422fd86944ad21f2612f4b6c304db0 Mon Sep 17 00:00:00 2001 From: frederik Date: Tue, 9 Sep 2025 17:53:20 +0200 Subject: [PATCH] fix dark theme, fix running update from the ui --- scripts/config.php | 2 +- scripts/update_birdnet_snippets.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/config.php b/scripts/config.php index 7892b99..6922d60 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -491,7 +491,7 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
- + >
> diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh index 42cc8de..4ac5760 100755 --- a/scripts/update_birdnet_snippets.sh +++ b/scripts/update_birdnet_snippets.sh @@ -93,7 +93,7 @@ DST='APPRISE_NOTIFICATION_BODY="A \$comname (\$sciname) was just detected with sed -i --follow-symlinks -E "s/$SRC/$DST/" /etc/birdnet/birdnet.conf if ! [ -f $HOME/BirdNET-Pi/body.txt ];then - grep -E '^APPRISE_NOTIFICATION_BODY=".*"' birdnet.conf | cut -d '"' -f 2 | sudo_with_user tee "$HOME/BirdNET-Pi/body.txt" + grep -E '^APPRISE_NOTIFICATION_BODY=".*"' /etc/birdnet/birdnet.conf | cut -d '"' -f 2 | sudo_with_user tee "$HOME/BirdNET-Pi/body.txt" chmod g+w "$HOME/BirdNET-Pi/body.txt" sed -i --follow-symlinks -E 's/^APPRISE_NOTIFICATION_BODY=/#APPRISE_NOTIFICATION_BODY=/' /etc/birdnet/birdnet.conf fi