diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-05 19:01:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-05 19:01:28 +0000 |
commit | 7c0338913e0813b1452d273c88003f0064bda01c (patch) | |
tree | 043ba9114ac152d3dbec5daf45b2817825b648e5 | |
parent | 67e4ff52e61a8619a6ddaaeac34ba13c208459c7 (diff) | |
download | drakx-kbd-mouse-x11-7c0338913e0813b1452d273c88003f0064bda01c.tar drakx-kbd-mouse-x11-7c0338913e0813b1452d273c88003f0064bda01c.tar.gz drakx-kbd-mouse-x11-7c0338913e0813b1452d273c88003f0064bda01c.tar.bz2 drakx-kbd-mouse-x11-7c0338913e0813b1452d273c88003f0064bda01c.tar.xz drakx-kbd-mouse-x11-7c0338913e0813b1452d273c88003f0064bda01c.zip |
(setup_install_X11) split it out of setup_install()
(needed for next commit)
-rw-r--r-- | lib/keyboard.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/keyboard.pm b/lib/keyboard.pm index 3355f31..6da515e 100644 --- a/lib/keyboard.pm +++ b/lib/keyboard.pm @@ -590,7 +590,11 @@ sub setup_install { } else { log::l("ERROR: can not load keymap"); } + setup_install_X11($keyboard); +} +sub setup_install_X11 { + my ($keyboard) = @_; if (-x "/usr/bin/setxkbmap") { _setxkbmap($keyboard) or log::l("setxkbmap failed"); } else { |