summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2022-11-20 14:14:47 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2022-11-20 15:43:49 +0000
commit787ea420e1ffe713cd2de9e0d8c05608668409a9 (patch)
treee7e231dfc1bdc3e3979da2bd1e93152a4e96d54f
parent915889bb35556cba51495ba153611cb5a3a499b8 (diff)
downloaddrakx-787ea420e1ffe713cd2de9e0d8c05608668409a9.tar
drakx-787ea420e1ffe713cd2de9e0d8c05608668409a9.tar.gz
drakx-787ea420e1ffe713cd2de9e0d8c05608668409a9.tar.bz2
drakx-787ea420e1ffe713cd2de9e0d8c05608668409a9.tar.xz
drakx-787ea420e1ffe713cd2de9e0d8c05608668409a9.zip
installer: preconfigure timezone before asking for online supplementary media URL.
The timezone is used to select the nearest mirror.
-rw-r--r--perl-install/install/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 47802e868..56502cddf 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -214,6 +214,7 @@ sub ask_suppl_media_url {
my ($o, $method, $o_url) = @_;
if (member($method, qw(ftp http))) {
+ preConfigureTimezone($o);
any::ask_mirror_and_downloader($o, $o->{options}, 'downloader_only');
$o->{packages}{options}{downloader} = $o->{options}{downloader};
any::ask_mirror($o, 'distrib', $o_url);