[gdm] data: fall back to old greeter if old shell



commit 4892c9447324f2248ce944f150abe3143f78eaa3
Author: Ray Strode <rstrode redhat com>
Date:   Tue Aug 30 11:13:49 2011 -0400

    data: fall back to old greeter if old shell
    
    This commit does a quick check to make sure gnome-shell is installed,
    and supports --gdm-mode.  If either of those fail, then fall back
    to the old greeter.

 data/gdm-shell.session.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/gdm-shell.session.in b/data/gdm-shell.session.in
index 2693f02..82c3dec 100644
--- a/data/gdm-shell.session.in
+++ b/data/gdm-shell.session.in
@@ -1,5 +1,5 @@
 [GNOME Session]
 Name=Display Manager
 RequiredComponents=gnome-shell;gnome-settings-daemon;
-IsRunnableHelper= libexecdir@/gnome-session-check-accelerated
+IsRunnableHelper=bash -c 'gnome-shell --help | grep -q gdm-mode && @libexecdir@/gnome-session-check-accelerated'
 FallbackSession=gdm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]