diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rwxr-xr-x | uzbl-browser | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -20,6 +20,7 @@ In alphabetical order: Aaron Griffin (phrakture) - Makefile patches to build on OSX Abel Camarillo (00z) - various portability fixes, such as BSD fixes for Makefile and posix shell scripts Andraž 'ruskie' Levstik - font_family patch + Barak A. Pearlmutter - typo fix Brendan Taylor (bct) - various bugfixes, making misc variables much better using expand(), refactoring some internal var stuff Chris Mason - code snippets such as basic cookie handler Chris van Dijk (quigybo) - work on uzbl_tabbed.py diff --git a/uzbl-browser b/uzbl-browser index eeabcc0..f5936e3 100755 --- a/uzbl-browser +++ b/uzbl-browser @@ -8,12 +8,12 @@ # But this shouldn't cause much problems.. -if [ x"$XDG_DATA_HOME" == 'x' ] +if [ -z "$XDG_DATA_HOME" ] then XDG_DATA_HOME=$HOME/.local/share fi -if [ x"$XDG_CACHE_HOME" == 'x' ] +if [ -z "$XDG_CACHE_HOME" ] then XDG_CACHE_HOME=$HOME/.cache fi @@ -31,7 +31,7 @@ SOCKET_PATH="$SOCKET_DIR/uzbl_socket_$SOCKET_ID" uzbl-core "$@" -n $SOCKET_ID & $XDG_DATA_HOME/uzbl/scripts/event_manager.py -vs $SOCKET_PATH -if [[ -S $SOCKETPATH ]] +if [ -S $SOCKETPATH ] then rm $SOCKET_PATH fi |