summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/finish-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-10 15:51:33 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-10 15:51:33 +0000
commit123d956682a5a0392af1c68135c8bd036026d0fa (patch)
tree93279c97fefa56dc66d9fd0a15c810ab55545bd2 /perl-install/standalone/finish-install
parenta8582a853066686961cca5bc7456a5f307e14a5c (diff)
downloaddrakx-123d956682a5a0392af1c68135c8bd036026d0fa.tar
drakx-123d956682a5a0392af1c68135c8bd036026d0fa.tar.gz
drakx-123d956682a5a0392af1c68135c8bd036026d0fa.tar.bz2
drakx-123d956682a5a0392af1c68135c8bd036026d0fa.tar.xz
drakx-123d956682a5a0392af1c68135c8bd036026d0fa.zip
always ask timezone (#23303, #42368)
Diffstat (limited to 'perl-install/standalone/finish-install')
-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);