summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-28 14:52:29 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-28 14:52:29 +0000
commit54c61478b4f85bf6c7e8705bde469624edce57f4 (patch)
tree928c4044ee52198804c297a46ae2e5465945126c /urpm.pm
parent5f893ef5b2f161876a34cf64f5afbf186f62248d (diff)
downloadurpmi-54c61478b4f85bf6c7e8705bde469624edce57f4.tar
urpmi-54c61478b4f85bf6c7e8705bde469624edce57f4.tar.gz
urpmi-54c61478b4f85bf6c7e8705bde469624edce57f4.tar.bz2
urpmi-54c61478b4f85bf6c7e8705bde469624edce57f4.tar.xz
urpmi-54c61478b4f85bf6c7e8705bde469624edce57f4.zip
added missing callback for second parsing.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 2 insertions, 0 deletions
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