summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/finish-install6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index 52c37ca54..bc8295d15 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -68,11 +68,7 @@ sub ask_timezone() {
require timezone;
my $t = timezone::read();
$t->{timezone} = timezone::bestTimezone($locale->{country}) if $locale->{country};
- if (lc(get_conf('TIMEZONE')) eq 'simplified') {
- any::configure_time_more($in, $t, 'hide_ntp');
- } else {
- any::configure_timezone($in, $t, 'ask_gmt');
- }
+ any::configure_timezone($in, $t, 'ask_gmt', lc(get_conf('TIMEZONE')) eq 'simplified');
timezone::write($t);
#- reload sys clock from hc once we know the real timezone
timezone::reload_sys_clock($t);