From: Mariusz Mazur Date: Sat, 18 Oct 2008 17:57:28 +0000 (+0000) Subject: - fix problem with firefox not openning urls in new tabs (taken from X-Git-Tag: auto/th/mozilla-firefox-bin-3_5_5-1~14 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=f69e908887502a5389f236be5e83bd5387fe9af3;p=packages%2Fmozilla-firefox-bin.git - fix problem with firefox not openning urls in new tabs (taken from mozilla-firefox.sh) Changed files: mozilla-firefox-bin.sh -> 1.2 --- diff --git a/mozilla-firefox-bin.sh b/mozilla-firefox-bin.sh index 378a634..9e5d321 100644 --- a/mozilla-firefox-bin.sh +++ b/mozilla-firefox-bin.sh @@ -70,8 +70,8 @@ else else URL="$1" fi - grep browser.tabs.opentabfor.middleclick ~/.mozilla/firefox/*/prefs.js | grep true > /dev/null - if [ $? -eq 0 ]; then + grep browser.tabs.opentabfor.middleclick ~/.mozilla/firefox/*/prefs.js | grep false > /dev/null + if [ $? -ne 0 ]; then exec $FIREFOX -new-tab "$URL" else exec $FIREFOX -new-window "$URL"