From 607f87914bfa8a5999ac6ccef1eefb66501d4cbb Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Thu, 30 Sep 2010 07:06:39 +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 8ec990110..365abbfa2 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.2.3