From e6920317753f0fa6564c035dc11195619654011c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 2 Sep 2010 23:56:25 +0200 Subject: [PATCH] Updating gdm handling for lxde. --- scripts/build/chroot_hacks | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks index 1fd3aa822..4417e332a 100755 --- a/scripts/build/chroot_hacks +++ b/scripts/build/chroot_hacks @@ -38,19 +38,24 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock +case "${LH_DISTRIBUTION}" in + squeeze|sid) + if echo "${LH_TASKS}" | grep -qs lxde + then + GDM="gdm" + else + GDM="gdm3" + fi + ;; + + *) + GDM="gdm" + ;; +esac + # Handling default desktop configuration for TASK in ${LH_TASKS} do - case "${LH_DISTRIBUTION}" in - lenny) - GDM="gdm" - ;; - - *) - GDM="gdm3" - ;; - esac - case "${TASK}" in gnome-desktop) # gnome is the only desktop environment in this image