diff options
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r-- | perl-install/keyboard.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm index 301c2f7e1..f397efe93 100644 --- a/perl-install/keyboard.pm +++ b/perl-install/keyboard.pm @@ -477,7 +477,7 @@ sub from_DMI() { $XkbModel && { XkbModel => $XkbModel }; } -sub load { +sub builtin_loadkeys { my ($keymap) = @_; return if $::testing; @@ -573,7 +573,7 @@ sub setup_install { log::l("loading keymap $kmap"); if (-e (my $f = "$ENV{SHARE_PATH}/keymaps/$kmap.bkmap")) { - load(scalar cat_($f)); + builtin_loadkeys(scalar cat_($f)); } elsif (-x '/bin/loadkeys') { run_program::run('loadkeys', $kmap); } else { |