summaryrefslogtreecommitdiff
path: root/x11/gdm2/files/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm2/files/patch-ai')
-rw-r--r--x11/gdm2/files/patch-ai14
1 files changed, 8 insertions, 6 deletions
diff --git a/x11/gdm2/files/patch-ai b/x11/gdm2/files/patch-ai
index f348fc2e4647..a8a24086a54a 100644
--- a/x11/gdm2/files/patch-ai
+++ b/x11/gdm2/files/patch-ai
@@ -1,7 +1,9 @@
---- config/PostSession.orig Thu Sep 30 07:42:19 1999
-+++ config/PostSession Wed Sep 13 00:51:04 2000
-@@ -1,3 +1,3 @@
+--- config/PostSession.orig Fri Apr 27 18:51:10 2001
++++ config/PostSession Tue May 8 11:33:08 2001
+@@ -1,4 +1,4 @@
#!/bin/sh
--/usr/bin/X11/sessreg -d -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY $USER
-+/usr/X11R6/bin/sessreg -d -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY -x /usr/X11R6/lib/X11/xdm/Xservers $USER
-
+-if [ -x /usr/bin/X11/sessreg ]; then
+- /usr/bin/X11/sessreg -d -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY $USER
++if [ -x /usr/X11R6/bin/sessreg ]; then
++ /usr/X11R6/bin/sessreg -d -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY -x /usr/X11R6/lib/X11/xdm/Xservers $USER
+ fi