From 2437979b3006303a17f7cd153d78e9be0126ce05 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 21 Apr 2009 13:48:30 +0000 Subject: ensure ntp package is installed when configuring ntp --- perl-install/NEWS | 2 ++ perl-install/standalone/finish-install | 3 +++ 2 files changed, 5 insertions(+) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index ff4cd1de3..d81afa16f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -8,6 +8,8 @@ - service_harddrake: o do not crash if loading new drivers fails (happened with amd64_agp wrongly listed in pcitable, #43870) +- finish-install: + o ensure ntp package is installed when configuring ntp Version 12.29 - 21 April 2009 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); } -- cgit v1.2.1