Use test -r instead of test -e for solaris. Fixes bug #4253.
This commit is contained in:
parent
0c0ddc3628
commit
5290af9f50
1 changed files with 2 additions and 2 deletions
|
@ -10,10 +10,10 @@ fi
|
||||||
AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh"
|
AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh"
|
||||||
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
|
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
|
||||||
|
|
||||||
if test -e $AUTOSTART; then
|
if test -r $AUTOSTART; then
|
||||||
. $AUTOSTART
|
. $AUTOSTART
|
||||||
else
|
else
|
||||||
if test -e $GLOBALAUTOSTART; then
|
if test -r $GLOBALAUTOSTART; then
|
||||||
. $GLOBALAUTOSTART
|
. $GLOBALAUTOSTART
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue