Adding special handling for kde-desktop hook in lh_chroot_hocks.
This commit is contained in:
parent
212b6a9175
commit
f358b604c6
|
@ -42,6 +42,12 @@ HOOKS="$(echo ${LH_HOOKS} ${LH_PACKAGES_LISTS} ${LH_TASKS} | sed -e 's| |\n|g' |
|
||||||
|
|
||||||
for HOOK in ${HOOKS}
|
for HOOK in ${HOOKS}
|
||||||
do
|
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}" ]
|
if [ -f ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" ]
|
||||||
then
|
then
|
||||||
# Copying hook
|
# Copying hook
|
||||||
|
|
Loading…
Reference in New Issue