summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-10 15:49:25 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-10 15:49:25 +0000
commita8582a853066686961cca5bc7456a5f307e14a5c (patch)
treebd2c2c4a6532fb51a8ca02e161d655794231018f
parentf9dbde56a2929a3e475466f5c9fbf0610109c1da (diff)
downloaddrakx-a8582a853066686961cca5bc7456a5f307e14a5c.tar
drakx-a8582a853066686961cca5bc7456a5f307e14a5c.tar.gz
drakx-a8582a853066686961cca5bc7456a5f307e14a5c.tar.bz2
drakx-a8582a853066686961cca5bc7456a5f307e14a5c.tar.xz
drakx-a8582a853066686961cca5bc7456a5f307e14a5c.zip
allow to make ntp settings advanced in configure_timezone()
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 0529ed46b..8c93d4192 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1395,13 +1395,13 @@ sub config_mtools {
}
sub configure_timezone {
- my ($in, $timezone, $ask_gmt) = @_;
+ my ($in, $timezone, $ask_gmt, $o_hide_ntp) = @_;
require timezone;
my $selected_timezone = $in->ask_from_treelist(N("Timezone"), N("Which is your timezone?"), '/', [ timezone::getTimeZones() ], $timezone->{timezone}) or return;
$timezone->{timezone} = $selected_timezone;
- configure_time_more($in, $timezone, undef)
+ configure_time_more($in, $timezone, $o_hide_ntp)
or goto &configure_timezone if $ask_gmt || to_bool($timezone->{ntp});
1;