summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 1bb9537ec..8c1f58525 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -129,6 +129,9 @@ sub selectKeyboard {
$o->{keyboard}{unsafe} or return;
if (my $keyboard = keyboard::read()) {
$o->{keyboard} = $keyboard;
+ } elsif ($o->{isUpgrade}) {
+ #- oops, the keyboard config is wrong, writing the unsafe config
+ addToBeDone { keyboard::write($o->{keyboard}) } 'installPackages';
}
} 'formatPartitions';
}