summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-08 19:42:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-08 19:42:56 +0000
commite56d92a693ba01746f418c4783b64858d0063a78 (patch)
tree53e97e1e85665459be6b7982946da0a6cfb92a08
parent844cfdc5310de38c1540c4bbba5cb79c3216d900 (diff)
downloaddrakx-kbd-mouse-x11-e56d92a693ba01746f418c4783b64858d0063a78.tar
drakx-kbd-mouse-x11-e56d92a693ba01746f418c4783b64858d0063a78.tar.gz
drakx-kbd-mouse-x11-e56d92a693ba01746f418c4783b64858d0063a78.tar.bz2
drakx-kbd-mouse-x11-e56d92a693ba01746f418c4783b64858d0063a78.tar.xz
drakx-kbd-mouse-x11-e56d92a693ba01746f418c4783b64858d0063a78.zip
- adapt to kbd instead of console-tools: s/kmap/map/
-rw-r--r--NEWS1
-rw-r--r--lib/keyboard.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 377f47a..923a11e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- handle nvidia-current instead of nvidia97xx (thanks to Anssi)
- handle x11-driver-video-$nvidia instead of $nvidia
+- adapt to kbd instead of console-tools: s/kmap/map/
Version 0.20 - 3 August 2007, by Pascal "Pixel" Rigaux
diff --git a/lib/keyboard.pm b/lib/keyboard.pm
index e724b55..85abfbf 100644
--- a/lib/keyboard.pm
+++ b/lib/keyboard.pm
@@ -407,7 +407,7 @@ sub loadkeys_files {
my ($err) = @_;
my $archkbd = arch() =~ /^sparc/ ? "sun" : arch() =~ /i.86|x86_64/ ? "i386" : arch() =~ /ppc/ ? "mac" : arch();
my $p = "/usr/lib/kbd/keymaps/$archkbd";
- my $post = ".kmap.gz";
+ my $post = ".map.gz";
my %trans = ("cz-latin2" => "cz-lat2");
my %find_file;
foreach my $dir (all($p)) {