The previous diff submitted is not exactly what I proposed. For more
information, I first proposed this modification on
https://code.launchpad.net/~thibault.lemaitre/ubuntu/natty/grass/use-preferred-web-browser/+merge/49813
but one told it wasn't the better place to do it, so here we are.

I attach to this mail the useful diff based on www-browser file I found
today on the GIT repository.

Sorry, I don't have much knowledge in diff, GIT and development tools in
general, the file I attach can maybe not be apply on the code directly.
diff -urNad www-browser.git_debian www-browser.me > diff.patch
--- www-browser.git_debian	2011-03-02 14:02:30.657188001 +0100
+++ www-browser.me	2011-02-20 19:24:15.000000000 +0100
@@ -38,7 +44,9 @@
 -	done
 -	if [ -n "$GRASS_HTML_BROWSER" ] ; then
 -	   break
-+	if [ -x /usr/bin/x-www-browser ] ; then
++	if [ -x /usr/bin/xdg-open ] ; then
++		GRASS_HTML_BROWSER=xdg-open
++	elif [ -x /usr/bin/x-www-browser ] ; then
 +		GRASS_HTML_BROWSER=x-www-browser
 +	else 
 +		GRASS_HTML_BROWSER=true
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to