Skip to content

Commit

Permalink
backend: copr-backend-resultdir-cleaner to skip module dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Nov 5, 2024
1 parent 31c52b4 commit 4239100
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/run/copr-backend-resultdir-cleaner
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def clean_in(resultdir, dry_run=True):
# to the [backend] prune_days=N config.
continue

if os.path.basename(chroot_dir) == "modules":
todo_directory(chroot_dir, "MODULES")
continue

for subdir in chroot_subdirs:
chroot_subdir_path = os.path.join(chroot_dir, subdir)

Expand Down

0 comments on commit 4239100

Please sign in to comment.