diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 18:31:23 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 18:31:23 +0000 |
commit | bb8676359506223e1510e845685957e9a0754cde (patch) | |
tree | b7ac442a674370b6245544c52c9d81f6e1769d94 /urpm/parallel.pm | |
parent | b526f1673aa4ba42eaa7c7e38ed16c66a21b4436 (diff) | |
download | urpmi-bb8676359506223e1510e845685957e9a0754cde.tar urpmi-bb8676359506223e1510e845685957e9a0754cde.tar.gz urpmi-bb8676359506223e1510e845685957e9a0754cde.tar.bz2 urpmi-bb8676359506223e1510e845685957e9a0754cde.tar.xz urpmi-bb8676359506223e1510e845685957e9a0754cde.zip |
factorize
Diffstat (limited to 'urpm/parallel.pm')
-rw-r--r-- | urpm/parallel.pm | 10 |
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; |