Use test -r instead of test -e for solaris. Fixes bug #4253.

This commit is contained in:
Dana Jansens 2009-12-09 10:23:00 -05:00
parent 0c0ddc3628
commit 5290af9f50

View file

@ -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