aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-18 18:28:39 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-18 18:28:39 +0000
commit860435cb778aa3379659a9895d46b90d942b4c71 (patch)
tree22e5c94de0d3f04d118fb7852e5378fd080e8bc6
parent1c81bd2d1b938732ba8dfdf0d25f240446cbcbd4 (diff)
downloadrpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.tar
rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.tar.gz
rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.tar.bz2
rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.tar.xz
rpmdrake-860435cb778aa3379659a9895d46b90d942b4c71.zip
adapt to new mirror API
-rwxr-xr-xrpmdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 5e763ab9..6ac5f06d 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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