summaryrefslogtreecommitdiffstats
path: root/urpm/parallel.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/parallel.pm')
-rw-r--r--urpm/parallel.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/urpm/parallel.pm b/urpm/parallel.pm
index 442dd29d..441da68a 100644
--- a/urpm/parallel.pm
+++ b/urpm/parallel.pm
@@ -66,4 +66,14 @@ sub remove {
);
}
+sub post_register_rpms {
+ my ($parallel, $urpm, @files) = @_;
+
+ #- keep trace of direct files.
+ $parallel->{line} .=
+ join(' ',
+ map { "'$_'" }
+ map { "$urpm->{cachedir}/rpms/" . basename($_) } @files);
+}
+
1;