diff options
Diffstat (limited to 'xorg-server/xkbdata.src/rules/compat/ln_s.sh')
-rw-r--r-- | xorg-server/xkbdata.src/rules/compat/ln_s.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xorg-server/xkbdata.src/rules/compat/ln_s.sh b/xorg-server/xkbdata.src/rules/compat/ln_s.sh index 00c2f593c..7e17d8851 100644 --- a/xorg-server/xkbdata.src/rules/compat/ln_s.sh +++ b/xorg-server/xkbdata.src/rules/compat/ln_s.sh @@ -8,7 +8,11 @@ OUTFILE=base.l${variant}_s.part > $OUTFILE awk '{ - printf " %s = +%s%%(v['${variant}']):'${variant}'\n", $1, $2; + if (index($2, "(") == 0) { + printf " %s = +%s%%(v['${variant}']):'${variant}'\n", $1, $2; + } else { + printf " %s = +%s:'${variant}'\n", $1, $2; + } }' < $INDIR/layoutRename.lst >> $OUTFILE awk '{ |