[PATCH xinit] Enable support for an xinitrc.d directory

Rémi Cardona remi at gentoo.org
Thu Apr 15 22:49:03 PDT 2010


Le 16/04/2010 00:05, Jeremy Huddleston a écrit :
> 
> On Apr 15, 2010, at 11:56, Julien Cristau wrote:
> 
>>> if [ -d XINITDIR/xinitrc.d ] ; then
>>> -	for f in XINITDIR/xinitrc.dXSLASHGLOB.sh ; do
>>> +	for f in XINITDIR/xinitrc.dXSLASHGLOB ; do
> 
>> I think I'd keep the .sh suffix.  That would avoid picking up emacs foo~
>> files, or similar.  Seems sane otherwise.
> 
> I made that change mainly to match Gentoo.  I think consistency is better here.  Remi, can you chime in here.

If everyone agrees with .sh, then I'll start migrating our scripts (no
idea how many we have though...).

I'll do point out I'm not a big fan of having workarounds for editors
with silly defaults or for users that are not careful. But that's just me :)

Cheers,

Rémi


More information about the xorg-devel mailing list