Adding special handling for kde-desktop hook in lh_chroot_hocks.

This commit is contained in:
Daniel Baumann 2010-01-20 13:03:50 +01:00
parent 212b6a9175
commit f358b604c6
1 changed files with 6 additions and 0 deletions

View File

@ -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