SOURCES: iceweasel.sh - correct condition to open in new tab or window acco...

vip vip at pld-linux.org
Thu Mar 5 19:30:30 CET 2009


Author: vip                          Date: Thu Mar  5 18:30:30 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- correct condition to open in new tab or window according to settings

---- Files affected:
SOURCES:
   iceweasel.sh (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SOURCES/iceweasel.sh
diff -u SOURCES/iceweasel.sh:1.10 SOURCES/iceweasel.sh:1.11
--- SOURCES/iceweasel.sh:1.10	Sun Jan 25 12:53:04 2009
+++ SOURCES/iceweasel.sh	Thu Mar  5 19:30:24 2009
@@ -46,7 +46,7 @@
 			else
 				URL="$1"
 			fi
-			if grep -q browser.tabs.opentabfor.middleclick.*false ~/.iceweasel/*/prefs.js; then
+			if ! grep -q browser.tabs.opentabfor.middleclick.*false ~/.iceweasel/*/prefs.js; then
 				exec $ICEWEASEL -new-tab "$URL"
 			else
 				exec $ICEWEASEL -new-window "$URL"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/iceweasel.sh?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list