A live bird collage card for your Home Assistant dashboard.
handling new crontabs
mcguirepr8922a481e11609
diff --git a/scripts/uninstall.sh b/scripts/uninstall.shindex 2f03c7ab..fa5d0e00 100755--- a/scripts/uninstall.sh+++ b/scripts/uninstall.sh@@ -26,9 +26,7 @@ remove_services() {}remove_crons() {- TMPFILE=$(mktemp)- crontab -l | sed -e '/birdnet/,+1d' > "${TMPFILE}"- crontab "${TMPFILE}"+ sed -e '/birdnet/,+1d' /etc/crontab}remove_icecast() {diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.shindex 7a335235..6b0127bb 100755--- a/scripts/update_birdnet.sh+++ b/scripts/update_birdnet.sh@@ -28,8 +28,7 @@ remove_services() {}remove_crons() {- crontab -u${USER} -l | sed -e '/birdnet/,+1d' > "${tmpfile}"- crontab -u${USER} "${tmpfile}"+ sed -e '/birdnet/,+1d' /etc/crontab}remove_icecast() {