aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-23 01:37:20 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-23 01:37:20 +0000
commit5d04527d65b31afd36504c744f658108225b83eb (patch)
tree68797a9a2ee4cf04c35259be3b3daae100b3a7a2 /Rpmdrake/pkg.pm
parentd8d0a21bc5582010fc452c94104aa5b16fb21055 (diff)
downloadrpmdrake-5d04527d65b31afd36504c744f658108225b83eb.tar
rpmdrake-5d04527d65b31afd36504c744f658108225b83eb.tar.gz
rpmdrake-5d04527d65b31afd36504c744f658108225b83eb.tar.bz2
rpmdrake-5d04527d65b31afd36504c744f658108225b83eb.tar.xz
rpmdrake-5d04527d65b31afd36504c744f658108225b83eb.zip
(warn_about_media) ensure mirror list got centered on MandrivaUpdate
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 91fd17bc..bdee6b5b 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -203,7 +203,7 @@ column).
Then, restart \"%s\".", N("Enabled"), $rpmdrake::myname_update));
myexit(-1);
}
- my ($mirror) = choose_mirror(if_(exists $w->{real_window}, transient => $w->{real_window}),
+ my ($mirror) = choose_mirror(transient => $w->{real_window} || $::main_window,
message => join("\n\n",
N("You have no configured update media. MandrivaUpdate cannot operate without any update media."),
N("I need to contact the Mandriva website to get the mirror list.