[PATCH xinit] Enable support for an xinitrc.d directory
Jeremy Huddleston
jeremyhu at freedesktop.org
Thu Apr 15 11:44:15 PDT 2010
This was already done on darwin and Gentoo. Now others can benefit.
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
xinitrc.cpp | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git /xinitrc.cpp /xinitrc.cpp
new file mode 100644
index 379b1f3..7e582b0 100644
--- /xinitrc.cpp
+++ /xinitrc.cpp
@@ -84,17 +84,13 @@ fi
XCOMM This is the fallback case if nothing else is executed above
#endif /* !defined(__SCO__) && !defined(__UNIXWARE__) */
-#ifdef __APPLE__
-
if [ -d XINITDIR/xinitrc.d ] ; then
- for f in XINITDIR/xinitrc.dXSLASHGLOB.sh ; do
+ for f in XINITDIR/xinitrc.dXSLASHGLOB ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
-#endif
-
TWM &
XCLOCK -geometry 50x50-1+1 &
XTERM -geometry 80x50+494+51 &
--
1.7.0.4
I dropped the .sh suffix to match what Gentoo is doing.
More information about the xorg-devel
mailing list