summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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