flaws in xinitrc-ng
gotar at polanet.pl
Mon Jan 30 15:48:29 CET 2012
On Mon, Jan 30, 2012 at 07:34:48 +0200, Elan Ruusamäe wrote:
>>> > for first problem, make all -x scripts executed, not sourced?
>> If you want to execute some code, just create #!sh script with proper
>> commands and source it. That's the same rule we follow for many other
>> scripts using sth.d for config inclusion (e.g. login shell startup).
> you mean this?
> if [ -x "$i" ]; then
> elif [ -f "$i" ]; then
> . "$i"
( any shell commands that might exit )
Tomasz Pala <gotar at pld-linux.org>
More information about the pld-devel-en