diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-23 22:37:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-23 22:37:52 +0000 |
commit | f6d374b254fa4b5c6703652cc6e119dc85ee2404 (patch) | |
tree | 44dfad132140b0511af84bc26521d909a0f4062c /urpm/media.pm | |
parent | b549980870f105e0676584d9af73528fe52110e6 (diff) | |
download | urpmi-f6d374b254fa4b5c6703652cc6e119dc85ee2404.tar urpmi-f6d374b254fa4b5c6703652cc6e119dc85ee2404.tar.gz urpmi-f6d374b254fa4b5c6703652cc6e119dc85ee2404.tar.bz2 urpmi-f6d374b254fa4b5c6703652cc6e119dc85ee2404.tar.xz urpmi-f6d374b254fa4b5c6703652cc6e119dc85ee2404.zip |
urpmf: fix mirrolist handling
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index c7995b52..93b84628 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -573,6 +573,9 @@ sub configure { $urpm->{media} = [ @sorted_media, @remaining ]; } _auto_update_media($urpm, %options) or return; + + _pick_mirror_if_needed($urpm, $_, '') foreach grep { !$_->{ignore} } @{$urpm->{media}}; + _parse_media($urpm, \%options) if !$options{nodepslist}; #- determine package to withdraw (from skip.list file) only if something should be withdrawn. @@ -604,8 +607,6 @@ sub _parse_media { delete @$_{qw(start end)}; _parse_synthesis_or_ignore($urpm, $_, $options->{callback}); - _pick_mirror_if_needed($urpm, $_, ''); - if ($_->{searchmedia}) { $urpm->{searchmedia} = 1; $urpm->{log}(N("Search start: %s end: %s", $_->{start}, $_->{end})); |