summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_interactive.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-04-18 19:53:15 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2019-04-20 21:35:26 +0100
commitbf24ef177504839892271171ccef6533bf449263 (patch)
tree11b7d96611e4198ecdb4240379335608da509352 /perl-install/install/steps_interactive.pm
parenteb19db5ef5d593d238dbe284d52ea20fb371d33b (diff)
downloaddrakx-bf24ef177504839892271171ccef6533bf449263.tar
drakx-bf24ef177504839892271171ccef6533bf449263.tar.gz
drakx-bf24ef177504839892271171ccef6533bf449263.tar.bz2
drakx-bf24ef177504839892271171ccef6533bf449263.tar.xz
drakx-bf24ef177504839892271171ccef6533bf449263.zip
installer: don't automatically change time zone on upgrade (mga#24670)
Diffstat (limited to 'perl-install/install/steps_interactive.pm')
-rw-r--r--perl-install/install/steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index 22af7b36d..83f102a10 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -866,7 +866,7 @@ sub summary {
$o->pkg_install(map { $_->name } @pkgs) if @pkgs;
lang::write_and_install($o->{locale}, $o->do_pkgs);
- if (!$timezone_manually_set) {
+ if (!$timezone_manually_set && !$o->{isUpgrade}) {
delete $o->{timezone};
install::any::preConfigureTimezone($o); #- now we can precise the timezone thanks to the country
}