diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-07-03 13:25:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-07-03 13:25:40 +0000 |
commit | efd1a3220085f5317b8daac3372b28b79381c5c9 (patch) | |
tree | 903b768355aae9578ebd3b46206f766eae09c772 /perl-install/install_any.pm | |
parent | dedeabe506d093314b7be2e03fd046e4d5f492fa (diff) | |
download | drakx-efd1a3220085f5317b8daac3372b28b79381c5c9.tar drakx-efd1a3220085f5317b8daac3372b28b79381c5c9.tar.gz drakx-efd1a3220085f5317b8daac3372b28b79381c5c9.tar.bz2 drakx-efd1a3220085f5317b8daac3372b28b79381c5c9.tar.xz drakx-efd1a3220085f5317b8daac3372b28b79381c5c9.zip |
add ntp handling
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 6fb0f38d2..b8c2f9251 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -308,7 +308,10 @@ sub preConfigureTimezone { add2hash($o->{timezone}, { timezone::read($o->{prefix}) }) if $o->{isUpgrade}; $o->{timezone}{timezone} ||= timezone::bestTimezone(lang::lang2text($o->{lang})); - add2hash_($o->{timezone}, { UTC => $::expert && !grep { isFat($_) || isNT($_) } @{$o->{fstab}} }); + + my $utc = $::expert && !grep { isFat($_) || isNT($_) } @{$o->{fstab}}; + my $ntp = timezone::ntp_server($o->{prefix}); + add2hash_($o->{timezone}, { UTC => $utc, ntp => $ntp }); } sub setPackages { |