aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xulri6
1 files changed, 6 insertions, 0 deletions
diff --git a/ulri b/ulri
index 30fd98d..bf59d3d 100755
--- a/ulri
+++ b/ulri
@@ -476,6 +476,12 @@ foreach my $prefix (keys %pkg_tree) {
link $file, "$fail_dir/${prefix}_$srpm";
delete $pkg_tree{$prefix};
unlink $file;
+ # If one arch has been generated, we also have a src.rpm in done
+ $file = "$done_dir/${prefix}_$srpm";
+ if (-f $file) {
+ plog('DEBUG', "deleting $file");
+ unlink $file;
+ }
}
# Notify user if build failed