summaryrefslogtreecommitdiff
path: root/x11/gdm2/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm2/files/patch-ah')
-rw-r--r--x11/gdm2/files/patch-ah14
1 files changed, 8 insertions, 6 deletions
diff --git a/x11/gdm2/files/patch-ah b/x11/gdm2/files/patch-ah
index 4738496f3561..3ee15e9555a0 100644
--- a/x11/gdm2/files/patch-ah
+++ b/x11/gdm2/files/patch-ah
@@ -1,7 +1,9 @@
---- config/PreSession.orig Thu Sep 30 07:42:27 1999
-+++ config/PreSession Wed Sep 13 00:51:23 2000
-@@ -1,3 +1,3 @@
+--- config/PreSession.orig Fri Apr 27 18:51:10 2001
++++ config/PreSession Tue May 8 11:32:12 2001
+@@ -1,4 +1,4 @@
#!/bin/sh
--/usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY $USER
-+/usr/X11R6/bin/sessreg -a -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 -a -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY $USER
++if [ -x /usr/X11R6/bin/sessreg ]; then
++ /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY -x /usr/X11R6/lib/X11/xdm/Xservers $USER
+ fi