diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-01 13:34:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-01 13:34:05 +0000 |
commit | 60f7967f79f1a7c057b70fb859b6f09352725d53 (patch) | |
tree | 1138147ea95abe09321d3c2a63294a4025649f69 | |
parent | 69d7be08c731b3b03e15986515292e89e2a5f78a (diff) | |
download | rpmdrake-60f7967f79f1a7c057b70fb859b6f09352725d53.tar rpmdrake-60f7967f79f1a7c057b70fb859b6f09352725d53.tar.gz rpmdrake-60f7967f79f1a7c057b70fb859b6f09352725d53.tar.bz2 rpmdrake-60f7967f79f1a7c057b70fb859b6f09352725d53.tar.xz rpmdrake-60f7967f79f1a7c057b70fb859b6f09352725d53.zip |
(add_distrib_update_media) enable to use mirrorlist
-rw-r--r-- | rpmdrake.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 958526ad..755e0aad 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -926,7 +926,9 @@ sub add_distrib_update_media { add_medium_and_check( $urpm, { nolock => 1, distrib => 1 }, - $medium_name, $mirror->{url}, probe_with => 'synthesis', initial_number => $initial_number, %options, + $medium_name, + ($mirror ? $mirror->{url} : (undef, mirrorlist => '$MIRRORLIST')), + probe_with => 'synthesis', initial_number => $initial_number, %options, usedistrib => 1, ); } |