fix dark theme, fix running update from the ui
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user