summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-26 16:35:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-26 16:35:05 +0000
commit0778a1262db70474e362ac55da0690c681e51e18 (patch)
treeb32b1d08e8eb8fe96adbe16781aed55413970395
parent806ccfa0bad23547fce604fba1ce2b9b51aefbfd (diff)
downloaddrakx-0778a1262db70474e362ac55da0690c681e51e18.tar
drakx-0778a1262db70474e362ac55da0690c681e51e18.tar.gz
drakx-0778a1262db70474e362ac55da0690c681e51e18.tar.bz2
drakx-0778a1262db70474e362ac55da0690c681e51e18.tar.xz
drakx-0778a1262db70474e362ac55da0690c681e51e18.zip
adapt scripts to new locations
-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;