summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-21 13:12:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-21 13:12:57 +0000
commitdfe254e3f32dedbad32f88be1d31ea2d279cc50e (patch)
treed7a1c15f7a13739f4f652c7ffe4280db3bfefbef /perl-install
parentbc5be8ae6923c0605df687918b35a77a735b1b35 (diff)
downloaddrakx-backup-do-not-use-dfe254e3f32dedbad32f88be1d31ea2d279cc50e.tar
drakx-backup-do-not-use-dfe254e3f32dedbad32f88be1d31ea2d279cc50e.tar.gz
drakx-backup-do-not-use-dfe254e3f32dedbad32f88be1d31ea2d279cc50e.tar.bz2
drakx-backup-do-not-use-dfe254e3f32dedbad32f88be1d31ea2d279cc50e.tar.xz
drakx-backup-do-not-use-dfe254e3f32dedbad32f88be1d31ea2d279cc50e.zip
*** empty log message ***
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ChangeLog2
-rwxr-xr-xperl-install/standalone/keyboarddrake4
2 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/ChangeLog b/perl-install/ChangeLog
index 0fbb8689c..1bc4f944b 100644
--- a/perl-install/ChangeLog
+++ b/perl-install/ChangeLog
@@ -1,5 +1,7 @@
2000-09-21 Pixel <pixel@mandrakesoft.com>
+ * standalone/keyboarddrake: fix for XF4
+
* Xconfigurator.pm (write_XF86Config): comment the omit
xfree86-dga
diff --git a/perl-install/standalone/keyboarddrake b/perl-install/standalone/keyboarddrake
index 3f3c78750..ca22c38eb 100755
--- a/perl-install/standalone/keyboarddrake
+++ b/perl-install/standalone/keyboarddrake
@@ -36,7 +36,7 @@ my $f = "/etc/X11/XF86Config";
my $g = "/etc/X11/XF86Config-4";
substInFile {
- if (/^Section "Keyboard"/ .. /^EndSection/) {
+ if (/^Section\s+"Keyboard"/ .. /^EndSection/) {
s|^(\s*XkbLayout\s+).*|$1"$xkb"|
and $_ .= join '', map { " $_\n" } @{$xkb_options{$xkb} || []};
s,^(\s*(XkbVariant|XkbOptions)\s+).*,,; # remove existing one
@@ -44,7 +44,7 @@ substInFile {
} $f if -e $f && !$::testing;
substInFile {
- if (/^Identifier "Keyboard1"/ .. /^EndSection/) {
+ if (/Identifier\s+"Keyboard1"/ .. /^EndSection/) {
s|^(\s*Option\s+"XkbLayout"\s+).*|$1"$xkb"|
and $_ .= join '', map { /(\S+)(.*)/; qq( Option "$1" $2\n) } @{$xkb_options{$xkb} || []};
s,^(\s*Option\s+"(XkbVariant|XkbOptions)"\s+).*,,; # remove existing one