From 89bcb598b302bce8800cb8b7f156e6206dc824b3 Mon Sep 17 00:00:00 2001 From: dwrz Date: Thu, 22 Oct 2026 12:53:41 +0000 Subject: [PATCH] Simplify notify script cleanup --- scripts/notify | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/notify b/scripts/notify index f81d917..d81c93d 100755 --- a/scripts/notify +++ b/scripts/notify @@ -73,11 +73,7 @@ delete_outdated() { local filepath="$1" rm -f "$1" - rm -f "${PROJECT}/motion/${name}.jpg" - find "${HOME}/photo/" -mmin +5 -delete - find "${PROJECT}/motion/" -iname "*.jpg" -mmin +5 -delete - find "${PROJECT}/motion/labels/" -mmin +5 -delete - + rm -rf "${PROJECT}" } release_lock () {