From 3a44d9acbd0945018138ebb3548054985ee15e22 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 8 Jul 2011 18:41:54 +0200 Subject: Correct gdm/gdm3 handling, prefere gdm for squeeze as before and use gdm3 for everything else. --- scripts/build/lb_chroot_hacks | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts/build/lb_chroot_hacks') diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks index 373ba1808..eed0294d8 100755 --- a/scripts/build/lb_chroot_hacks +++ b/scripts/build/lb_chroot_hacks @@ -39,8 +39,9 @@ Check_lockfile .lock Create_lockfile .lock case "${LB_PARENT_DISTRIBUTION}" in - squeeze|wheezy|sid) - if echo "${LB_TASKS}" | grep -qs xfce + squeeze) + if echo "${LB_TASKS}" | grep -qs lxde || + echo "${LB_TASKS}" | grep -qs xfce then GDM="gdm" else @@ -49,7 +50,7 @@ case "${LB_PARENT_DISTRIBUTION}" in ;; *) - GDM="gdm" + GDM="gdm3" ;; esac -- cgit v1.2.3