aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/compat/ln_s.sh
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-24 17:45:11 +0000
committermarha <marha@users.sourceforge.net>2009-07-24 17:45:11 +0000
commitea63f0fae5c393ccf198aad0ae4dbda6d2a4391a (patch)
treec1156ac1a1074e2f5c34e8798f28a1c0372f1356 /xorg-server/xkbdata.src/rules/compat/ln_s.sh
parent61339f6bcfca02be629416f549a634dd34aed98f (diff)
downloadvcxsrv-ea63f0fae5c393ccf198aad0ae4dbda6d2a4391a.tar.gz
vcxsrv-ea63f0fae5c393ccf198aad0ae4dbda6d2a4391a.tar.bz2
vcxsrv-ea63f0fae5c393ccf198aad0ae4dbda6d2a4391a.zip
Added xkeyboard-config-1.6.tar.gz
Diffstat (limited to 'xorg-server/xkbdata.src/rules/compat/ln_s.sh')
-rw-r--r--xorg-server/xkbdata.src/rules/compat/ln_s.sh6
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 '{