diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 18:28:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 18:28:39 +0000 |
commit | 860435cb778aa3379659a9895d46b90d942b4c71 (patch) | |
tree | 22e5c94de0d3f04d118fb7852e5378fd080e8bc6 | |
parent | 1c81bd2d1b938732ba8dfdf0d25f240446cbcbd4 (diff) | |
download | rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.tar rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.tar.gz rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.tar.bz2 rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.tar.xz rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.zip |
adapt to new mirror API
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1452,7 +1452,8 @@ Then, restart %s.", $rpmdrake::myname_update)); myexit(-1); } mu_retry_another_mirror: - my $m = choose_mirror(if_(exists $w->{real_window}, transient => $w->{real_window})); + my $mirror = choose_mirror(if_(exists $w->{real_window}, transient => $w->{real_window})); + my $m = ref($mirror) ? $mirror->{url} : ''; $m or interactive_msg_(N("How to choose manually your mirror"), N("You may also choose your desired mirror manually: to do so, launch the Software Media Manager, and then add a `Security |