diff options
Diffstat (limited to 'xorg-server/xkbdata.src/rules/compat/ml1_s.sh')
-rw-r--r-- | xorg-server/xkbdata.src/rules/compat/ml1_s.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/xkbdata.src/rules/compat/ml1_s.sh b/xorg-server/xkbdata.src/rules/compat/ml1_s.sh index bd47a342e..b31eb2af9 100644 --- a/xorg-server/xkbdata.src/rules/compat/ml1_s.sh +++ b/xorg-server/xkbdata.src/rules/compat/ml1_s.sh @@ -4,6 +4,6 @@ set OUTFILE=base.ml1_s.part del %OUTFILE% -awk "{ printf """ * %%s = pc+%%s%%%%(v[1])\n""", $1, $2; }" layoutRename.lst >> %OUTFILE% +awk "{if (index($2, """(""") == 0) { printf """ * %%s = pc+%%s%%%%(v[1])\n""", $1, $2;} else { printf """ * %%s = pc+%%s\n""", $1, $2;}}" layoutRename.lst >> %OUTFILE% awk "{ printf """ * %%s(%%s) = pc+%%s(%%s)\n""", $1, $2, $3, $4; }" variantRename.lst >> %OUTFILE% |