Merge branch 'backport' into work

This commit is contained in:
Dana Jansens 2010-02-05 13:47:58 -05:00
commit 31f0c8c1ad
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ fi
# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV=""
DESKTOP_ENV="OPENBOX"
if which @secretbindir@/xdg-autostart >/dev/null; then
@secretbindir@/xdg-autostart $DESKTOP_ENV
fi

View file

@ -37,7 +37,7 @@ else
if test -z "$SESSION"; then
# if its empty then just run openbox
SESSION="[openbox]"
elif echo "$SESSION" | grep -q openbox; then
elif ! echo "$SESSION" | grep -q openbox; then
# if openbox isn't in the session then append it
SESSION="${SESSION%]},openbox]"
fi