diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-10-01 16:41:47 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-10-01 16:41:47 +0200 |
commit | 33971cd8be712ea7042ff6063ee478abaee5cc08 (patch) | |
tree | 662a2e9cd56cd627212269563147777b2f6b84be | |
parent | 9cf56c47fdc53f541527e75a1138139396905523 (diff) | |
download | acritoxinstaller-33971cd8be712ea7042ff6063ee478abaee5cc08.zip acritoxinstaller-33971cd8be712ea7042ff6063ee478abaee5cc08.tar.gz |
remove kde-config-touchpad if no touchpad is available
-rw-r--r-- | backend/modules/install_configure | 4 |
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" ] && \ |