From 0f33ac6ac4887510dce038b490ec29c9e36a774b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 20 Jan 2010 13:03:50 +0100 Subject: Adding special handling for kde-desktop hook in lh_chroot_hocks. --- helpers/lh_chroot_hooks | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helpers/lh_chroot_hooks b/helpers/lh_chroot_hooks index 04fe487..986aab5 100755 --- a/helpers/lh_chroot_hooks +++ b/helpers/lh_chroot_hooks @@ -42,6 +42,12 @@ HOOKS="$(echo ${LH_HOOKS} ${LH_PACKAGES_LISTS} ${LH_TASKS} | sed -e 's| |\n|g' | for HOOK in ${HOOKS} do + # Special handling for kde + if [ "${HOOK}" = "kde-desktop" ] && [ -n "$(echo ${HOOKS} | grep gnome-desktop)" ] + then + continue + fi + if [ -f ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" ] then # Copying hook -- cgit v1.0