summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index 8c29c8e03..00c9b245e 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -445,7 +445,9 @@ sub setup {
sub write {
my ($keyboard) = @_;
+ $keyboard = { %$keyboard };
+ delete $keyboard->{unsafe};
$keyboard->{KEYTABLE} = keyboard2kmap($keyboard);
setVarsInSh("$::prefix/etc/sysconfig/keyboard", $keyboard);