[Lunar-commits] <moonbase> xdm: remove assumption that /usr/bin/xsm is present

Florin Braescu florin at lunar-linux.org
Sun Apr 5 13:20:47 CEST 2009


commit df5591254e99a19f231add7c7bd86e6112d01f9e
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Apr 5 14:20:47 2009 +0300

    xdm: remove assumption that /usr/bin/xsm is present
    
    Thanks to brebs for the patch.
---
 xorg7/app/xdm/BUILD |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/xorg7/app/xdm/BUILD b/xorg7/app/xdm/BUILD
index cfe3408..095ed47 100644
--- a/xorg7/app/xdm/BUILD
+++ b/xorg7/app/xdm/BUILD
@@ -1,4 +1,8 @@
 (
+
+  # Don't moan in ~/.xsession-errors if /usr/bin/xsm is missing
+  sedit 's:exec BINDIR/xsm:\[ -x BINDIR/xsm \] \&\& exec BINDIR/xsm:' config/Xsession.cpp  &&
+
   . /etc/profile.d/x11r7.rc &&
 
   default_build


More information about the Lunar-commits mailing list