summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/install/share/keymaps_generate4
-rwxr-xr-xperl-install/install/share/kmap2bkmap2
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install/share/keymaps_generate b/perl-install/install/share/keymaps_generate
index 0265502c9..6a43556e5 100755
--- a/perl-install/install/share/keymaps_generate
+++ b/perl-install/install/share/keymaps_generate
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use lib "..";
+use lib "/usr/lib/libDrakX";
use keyboard;
my $dir = "keymaps/usr/share/keymaps";
@@ -8,7 +8,7 @@ system("rm -rf keymaps ; mkdir -p keymaps/usr/share/keymaps");
foreach (keyboard::keyboards()) {
my $kmap = keyboard::keyboard2kmap($_);
- if (system("./kmap2bkmap $kmap > $dir/$kmap.bkmap 2>/dev/null") != 0) {
+ if (system("./kmap2bkmap $kmap > $dir/$kmap.bkmap") != 0) {
warn "unknown kmap $kmap\n";
unlink "$dir/$kmap.bkmap";
}
diff --git a/perl-install/install/share/kmap2bkmap b/perl-install/install/share/kmap2bkmap
index 58505dda0..8ac8f5846 100755
--- a/perl-install/install/share/kmap2bkmap
+++ b/perl-install/install/share/kmap2bkmap
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use lib "..";
+use lib "/usr/lib/libDrakX";
use c;
my $KMAP_MAGIC = 0x8B39C07F;