summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-10-01 16:41:47 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2011-10-01 16:41:47 +0200
commit33971cd8be712ea7042ff6063ee478abaee5cc08 (patch)
tree662a2e9cd56cd627212269563147777b2f6b84be /backend
parent9cf56c47fdc53f541527e75a1138139396905523 (diff)
downloadacritoxinstaller-33971cd8be712ea7042ff6063ee478abaee5cc08.zip
acritoxinstaller-33971cd8be712ea7042ff6063ee478abaee5cc08.tar.gz
remove kde-config-touchpad if no touchpad is available
Diffstat (limited to 'backend')
-rw-r--r--backend/modules/install_configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index 28e351e..1675a65 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -131,6 +131,10 @@ function configure_target_purge_live_only_stuff()
mknbi \
syslinux \
tftpd-hpa &> /dev/null
+
+ # remove kde-config-touchpad if no touchpad is available
+ [ "$(qdbus org.kde.synaptiks /modules/synaptiks org.kde.Synaptiks.isTouchpadAvailable)" = true ] && \
+ chroot_it dpkg --purge kde-config-touchpad
# disable live config
[ -f "$TARGET/etc/default/distro" ] && \