scripts/dl_cleanup: add support for subdirectories
authorMichael Pratt <mcpratt@pm.me>
Mon, 19 Sep 2022 20:39:34 +0000 (16:39 -0400)
committerMichael Pratt <mcpratt@pm.me>
Thu, 22 Sep 2022 20:48:36 +0000 (16:48 -0400)
commitda4609788ddd559d4847662231cded2ecac16549
treec737c3a8851e057b9673a441650c7b822a37b4d2
parent59db286814be3ebc1fb9d9ec580945920c2d68e7
scripts/dl_cleanup: add support for subdirectories

Allow comparing subdirectories exactly like files.

Handle a corner case where the new subdirectory
has the same tarball inside of it
as the one that was downloaded
before a subdirectory for that package was established.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
scripts/dl_cleanup.py