summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2013-08-26 21:05:05 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2013-08-26 21:05:05 +0200
commiteed584b30c1d4b96e0be8dcf6781acb0aa30c37a (patch)
tree8d022512534416e225b7d74b6772688be690847d
parentb1a5db4306c374b02f9d579a33f509bcfd113200 (diff)
downloadkanotix-eed584b30c1d4b96e0be8dcf6781acb0aa30c37a.zip
kanotix-eed584b30c1d4b96e0be8dcf6781acb0aa30c37a.tar.gz
fix: only run KDE keyboard layout hook when KDE is installed
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/8000-kde-keyboard-layout2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/chroot_local-includes/lib/live/config/8000-kde-keyboard-layout b/config/chroot_local-includes/lib/live/config/8000-kde-keyboard-layout
index d83cb7f..e213fb6 100755
--- a/config/chroot_local-includes/lib/live/config/8000-kde-keyboard-layout
+++ b/config/chroot_local-includes/lib/live/config/8000-kde-keyboard-layout
@@ -6,7 +6,7 @@ KdeKeyboardLayout ()
# Checking if package is already configured
if [ -e /var/lib/live/config/kdekeyboardlayout ] || \
- [ ! -e ${KXKBRC} ]
+ [ ! -e ${KXKBRC} ] || [ ! -x /usr/bin/kwriteconfig ]
then
return
fi