summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-08 18:41:54 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-08 18:41:54 +0200
commit3a44d9acbd0945018138ebb3548054985ee15e22 (patch)
treefeee14f85b05441dc76b1e8c6b1b20fc7abecdff /scripts/build
parentecd8dca2ba65b351f9737a2a02cc2779b1f86240 (diff)
downloadvyos-live-build-3a44d9acbd0945018138ebb3548054985ee15e22.tar.gz
vyos-live-build-3a44d9acbd0945018138ebb3548054985ee15e22.zip
Correct gdm/gdm3 handling, prefere gdm for squeeze as before and use gdm3 for everything else.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/lb_chroot_hacks7
1 files changed, 4 insertions, 3 deletions
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