Simplify notify script cleanup

This commit is contained in:
dwrz
2026-10-22 12:53:41 +00:00
parent a2745fe5a0
commit 89bcb598b3
+1 -5
View File
@@ -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 () {