phase1: dlprune: fix cannot delete ‘dl/’: Not a directory v7
authorPetr Štetiar <ynezz@true.cz>
Thu, 1 Jun 2023 05:56:49 +0000 (07:56 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sat, 3 Jun 2023 07:45:45 +0000 (09:45 +0200)
commit280a07b9e6ba928ce5495dc19ed68d17e990396c
tree324cd9407c9771f7b89eba368e2627effd60cd7f
parent2b415c0b17e9b96ea2933206a3466b8a52e32b35
phase1: dlprune: fix cannot delete ‘dl/’: Not a directory

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>
phase1/master.cfg