]> git.pld-linux.org Git - packages/gdm.git/blob - shell-check.patch
- use sh not bash
[packages/gdm.git] / shell-check.patch
1 From 64e6b10f98fe7226a2f41807268dae3afa80236d Mon Sep 17 00:00:00 2001
2 From: György Balló <ballogy@freestart.hu>
3 Date: Fri, 30 Sep 2011 21:48:40 +0000
4 Subject: data: add back check for gnome-shell before running gdm-shell session
5
6 Add back commit 4892c9447324f2248ce944f150abe3143f78eaa3
7
8 This commit does a quick check to make sure gnome-shell is
9 installed, and supports --gdm-mode. If either of those fail,
10 then fall back to the old greeter.
11
12 https://bugzilla.gnome.org/show_bug.cgi?id=660409
13 ---
14 diff --git a/data/gdm-shell.session.in b/data/gdm-shell.session.in
15 index 3d408c3..496cc10 100644
16 --- a/data/gdm-shell.session.in
17 +++ b/data/gdm-shell.session.in
18 @@ -1,5 +1,5 @@
19  [GNOME Session]
20  Name=Display Manager
21  RequiredComponents=gnome-shell;gnome-settings-daemon;
22 -IsRunnableHelper=@libexecdir@/gnome-session-check-accelerated
23 +IsRunnableHelper=sh -c 'gnome-shell --help | grep -q gdm-mode && @libexecdir@/gnome-session-check-accelerated'
24  FallbackSession=gdm-fallback
25 --
26 cgit v0.9.0.2
This page took 0.037773 seconds and 4 git commands to generate.