Skip to content

Commit b328003

Browse files
committed
backend: resultdir-cleaner: remove old appstream failures
These are no longer that frequent as we disabled appstream-builder by default long time ago. Relates: #3495
1 parent 526473b commit b328003

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

backend/run/copr-backend-resultdir-cleaner

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ def clean_in(resultdir, dry_run=True):
9494
continue
9595

9696
if subdir in ["tmp", "cache", "appdata"]:
97-
# tmp => 95k * 7 inodes
98-
# cache => 95k * 2 inodes
99-
todo_directory(chroot_subdir_path, "APPSTREAMFAIL")
97+
remove_old_dir(chroot_subdir_path, dry_run)
10098
continue
10199

102100
parts = subdir.split("-")

0 commit comments

Comments
 (0)