summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/finish-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/finish-install')
-rwxr-xr-xperl-install/standalone/finish-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index 2034ca255..3da4d6973 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -71,7 +71,10 @@ sub ask_timezone() {
$timezone = timezone::read();
$timezone->{timezone} = timezone::bestTimezone($locale->{country}) if $locale->{country};
any::configure_timezone($in, $timezone, 'ask_gmt', lc(get_conf('TIMEZONE')) eq 'simplified');
+
+ $in->do_pkgs->ensure_is_installed('ntp') if $timezone->{ntp};
timezone::write($timezone);
+
#- reload sys clock from hc once we know the real timezone
timezone::reload_sys_clock($timezone);
}