From 54c61478b4f85bf6c7e8705bde469624edce57f4 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 28 Feb 2003 14:52:29 +0000 Subject: added missing callback for second parsing. --- urpm.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 3176013d..cc14dcee 100644 --- a/urpm.pm +++ b/urpm.pm @@ -1584,6 +1584,7 @@ sub update_media { #- take care of modified medium only or all if all have to be recomputed. $medium->{ignore} and next; + $options{callback} && $options{callback}('parse', $medium->{name}); #- a modified medium is an invalid medium, we have to read back the previous hdlist #- or synthesis which has not been modified by first pass above. if ($medium->{headers} && !$medium->{modified}) { @@ -1629,6 +1630,7 @@ sub update_media { $urpm->{modified} = 1; } } + $options{callback} && $options{callback}('done', $medium->{name}); } #- clean headers cache directory to remove everything that is no more -- cgit v1.2.1