dlprune currently fails with following error:
find: cannot delete ‘dl/’: Not a directory
Initial idea was to delete only stuff under download directory and not
the download directory itself, so lets adjust the find command
accordingly.
Fixes: 68b20ed67b5e ("phase1: prune unused files from dl/")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
name = "dlprune",
description = "Pruning dl/",
descriptionDone = "dl/ pruned",
- command = 'find dl/ -atime +15 -delete -print',
+ command = 'find dl/ -mindepth 1 -atime +15 -delete -print',
logEnviron = False,
))