diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-05 04:02:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-05 04:02:21 +0000 |
commit | 2d9940702332f196c0c7a9f801ed3471417976c1 (patch) | |
tree | bf729cdf700f33cc054204b8c35b2768854be0f4 /perl-install | |
parent | bc734dd702f43913558ed13b3cd404aa7090b8b0 (diff) | |
download | drakx-2d9940702332f196c0c7a9f801ed3471417976c1.tar drakx-2d9940702332f196c0c7a9f801ed3471417976c1.tar.gz drakx-2d9940702332f196c0c7a9f801ed3471417976c1.tar.bz2 drakx-2d9940702332f196c0c7a9f801ed3471417976c1.tar.xz drakx-2d9940702332f196c0c7a9f801ed3471417976c1.zip |
ppc doesn't use dumpkeys (?) (Christiaan Welvaart)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/keyboard.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm index 8b066d302..ece7cc306 100644 --- a/perl-install/keyboard.pm +++ b/perl-install/keyboard.pm @@ -535,13 +535,14 @@ sub write { $keyboard->{KEYTABLE} = keyboard2kmap($keyboard); setVarsInSh("$::prefix/etc/sysconfig/keyboard", $keyboard); - run_program::rooted($::prefix, 'dumpkeys', '>', '/etc/sysconfig/console/default.kmap') or log::l("dumpkeys failed"); if (arch() =~ /ppc/) { my $s = "dev.mac_hid.keyboard_sends_linux_keycodes = 1\n"; substInFile { $_ = '' if /^\Qdev.mac_hid.keyboard_sends_linux_keycodes/; $_ .= $s if eof; } "$::prefix/etc/sysctl.conf"; + } else { + run_program::rooted($::prefix, 'dumpkeys', '>', '/etc/sysconfig/console/default.kmap') or log::l("dumpkeys failed"); } } |