SOURCES: iceweasel.sh - cosmetics

glen glen at pld-linux.org
Sun Jan 25 12:48:22 CET 2009


Author: glen                         Date: Sun Jan 25 11:48:22 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cosmetics

---- Files affected:
SOURCES:
   iceweasel.sh (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/iceweasel.sh
diff -u SOURCES/iceweasel.sh:1.8 SOURCES/iceweasel.sh:1.9
--- SOURCES/iceweasel.sh:1.8	Sun Jan 25 12:46:26 2009
+++ SOURCES/iceweasel.sh	Sun Jan 25 12:48:17 2009
@@ -27,8 +27,7 @@
 if [ "$1" == "-remote" ]; then
 	exec $ICEWEASEL "$@"
 else
-	PING=$($ICEWEASEL -remote 'ping()' 2>&1 >/dev/null)
-	if [ -n "$PING" ]; then
+	if ! $ICEWEASEL -remote 'ping()' 2>/dev/null; then
 		if [ -f "$PWD/$1" ]; then
 			exec $ICEWEASEL "file://$PWD/$1"
 		else
================================================================

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



More information about the pld-cvs-commit mailing list