From 0f72856a5e681bbdc0d351cc77e525da663a7ca3 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Tue, 28 Sep 2010 14:58:13 +0200
Subject: Also using gdm legacy hack on xfce-desktop default images.

---
 scripts/build/lb_chroot_hacks | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks
index a3d85a2..f746b68 100755
--- a/scripts/build/lb_chroot_hacks
+++ b/scripts/build/lb_chroot_hacks
@@ -40,7 +40,8 @@ Create_lockfile .lock
 
 case "${LB_DISTRIBUTION}" in
 	squeeze|sid)
-		if echo "${LB_TASKS}" | grep -qs lxde
+		if echo "${LB_TASKS}" | grep -qs lxde ||
+		   echo "${LB_TASKS}" | grep -qs xfce
 		then
 			GDM="gdm"
 		else
-- 
cgit v1.0