diff options
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 { |