summaryrefslogtreecommitdiffstats
path: root/linux/bin/asdf
diff options
context:
space:
mode:
authorpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-04-06 14:44:20 +0000
committerpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-04-06 14:44:20 +0000
commit18dc4cea36a86bb55eb8e09e68655d1d694b9dba (patch)
treeeecdc1292fdbb6580fb8bbd106d76f50d39f3685 /linux/bin/asdf
parent5037ebe76c12058b435de812e65a742484ea09d7 (diff)
auch dann alternative Xmodmap, falls kein keysymdef.h an üblicher Stelle
git-svn-id: https://svn.neo-layout.org@2283 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/bin/asdf')
-rwxr-xr-xlinux/bin/asdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/bin/asdf b/linux/bin/asdf
index 60e3a37..6b7deec 100755
--- a/linux/bin/asdf
+++ b/linux/bin/asdf
@@ -160,7 +160,7 @@ else
set_xkbmap "${NEO_XKBMAP}" "${NEO_XKBVARIANT}"
;;
xmodmap)
- if [ `grep -c 'dead_dasia' ${KEYSYMDEF}` -eq 0 ]; then
+ if [ ! -f ${KEYSYMDEF} ] || [ `grep -c 'dead_dasia' ${KEYSYMDEF}` -eq 0 ]; then
$ECHO_e "${red}Das System scheint älter zu sein, weiche auf neo_de_alternative aus.${normal}"
NEO_XMODMAP=${NEO_XMODMAP_ALTERNATIVE}
fi