diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-26 16:35:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-26 16:35:05 +0000 |
commit | 0778a1262db70474e362ac55da0690c681e51e18 (patch) | |
tree | b32b1d08e8eb8fe96adbe16781aed55413970395 /perl-install/install/share/keymaps_generate | |
parent | 806ccfa0bad23547fce604fba1ce2b9b51aefbfd (diff) | |
download | drakx-0778a1262db70474e362ac55da0690c681e51e18.tar drakx-0778a1262db70474e362ac55da0690c681e51e18.tar.gz drakx-0778a1262db70474e362ac55da0690c681e51e18.tar.bz2 drakx-0778a1262db70474e362ac55da0690c681e51e18.tar.xz drakx-0778a1262db70474e362ac55da0690c681e51e18.zip |
adapt scripts to new locations
Diffstat (limited to 'perl-install/install/share/keymaps_generate')
-rwxr-xr-x | perl-install/install/share/keymaps_generate | 4 |
1 files changed, 2 insertions, 2 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"; } |