summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-05 04:02:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-05 04:02:21 +0000
commit2d9940702332f196c0c7a9f801ed3471417976c1 (patch)
treebf729cdf700f33cc054204b8c35b2768854be0f4
parentbc734dd702f43913558ed13b3cd404aa7090b8b0 (diff)
downloaddrakx-backup-do-not-use-2d9940702332f196c0c7a9f801ed3471417976c1.tar
drakx-backup-do-not-use-2d9940702332f196c0c7a9f801ed3471417976c1.tar.gz
drakx-backup-do-not-use-2d9940702332f196c0c7a9f801ed3471417976c1.tar.bz2
drakx-backup-do-not-use-2d9940702332f196c0c7a9f801ed3471417976c1.tar.xz
drakx-backup-do-not-use-2d9940702332f196c0c7a9f801ed3471417976c1.zip
ppc doesn't use dumpkeys (?) (Christiaan Welvaart)
-rw-r--r--perl-install/keyboard.pm3
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");
}
}