Hello Felipe,

> Monodoc from the Linux Installer is not working on Ubuntu 6.10,
> although it works fine with "Mono 1.2.2.1_1 Installer". What it prints
> on the console is attached.

Could you patch the `monodoc' script with this patch?

And report if it still fails?
Index: monodoc.in
===================================================================
--- monodoc.in	(revision 68159)
+++ monodoc.in	(revision 68158)
@@ -62,24 +62,11 @@
 	;;
 esac
 
-getdirectory () {
-    w=`which $1`
-    if test -h $w; then
-	(cd `dirname $w`/`dirname \`readlink $w\``; pwd)
-    else
-	dirname $w
-    fi
-}
 
 if test -n "$MOZILLA_FIVE_HOME"; then
 	MOZILLA_HOME=$MOZILLA_FIVE_HOME
-elif test [EMAIL PROTECTED]@ != x; then
-    if [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
+elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
         [EMAIL PROTECTED]@
-    fi 
-elif [ $(which xulrunner 2> /dev/null) ] > /dev/null ; then
-    MOZILLA_FIVE_HOME=`getdirectory xulrunner`
-    MOZILLA_HOME=$MOZILLA_FIVE_HOME
 elif [ $(which mozilla 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then
 	MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
 elif [ $(which firefox 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then
@@ -91,8 +78,6 @@
 else
 	export LD_LIBRARY_PATH=$MOZILLA_HOME
 fi
-export MOZILLA_FIVE_HOME 
-export MOZILLA_HOME 
-export LD_LIBRARY_PATH
 
+
 exec @RUNTIME@ $monodocdir/browser.exe $OPTIONS "$@" $REST
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to