From 847db6d65f77aa0711c05ee0dcdd3bf6307bbc08 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Thu, 26 May 2022 11:00:57 -0400 Subject: [PATCH] silencing that check --- scripts/update_birdnet_snippets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh index 7c13581..9022d25 100755 --- a/scripts/update_birdnet_snippets.sh +++ b/scripts/update_birdnet_snippets.sh @@ -61,7 +61,7 @@ fi if ! grep FLICKR_API_KEY /etc/birdnet/birdnet.conf &>/dev/null;then sudo -u$USER echo "FLICKR_API_KEY=" >> /etc/birdnet/birdnet.conf fi -if systemctl list-unit-files pushed_notifications.service;then +if systemctl list-unit-files pushed_notifications.service &>/dev/null;then sudo systemctl disable --now pushed_notifications.service sudo rm -f /usr/lib/systemd/system/pushed_notifications.service sudo rm $HOME/BirdNET-Pi/templates/pushed_notifications.service