conduit r1441 - in trunk: . conduit
- From: johncarr svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1441 - in trunk: . conduit
- Date: Sun, 4 May 2008 22:38:02 +0100 (BST)
Author: johncarr
Date: Sun May 4 21:38:01 2008
New Revision: 1441
URL: http://svn.gnome.org/viewvc/conduit?rev=1441&view=rev
Log:
2008-05-04 John Carr <john carr unrouted co uk>
* conduit/conduit: Cope with Firefox 3 on Hardy
Modified:
trunk/ChangeLog
trunk/conduit/conduit
Modified: trunk/conduit/conduit
==============================================================================
--- trunk/conduit/conduit (original)
+++ trunk/conduit/conduit Sun May 4 21:38:01 2008
@@ -7,15 +7,18 @@
# Run mozilla takes care of settin up the appropriate environment variables
# to run a program using mozilla libs
-FF_PATH=`ls -d /usr/lib/firefox* | tail -n 1`
-RUN_MOZILLA=$FF_PATH/run-mozilla.sh
-if [ -x $RUN_MOZILLA ]; then
- $RUN_MOZILLA $(dirname $0)/conduit.real $*
-else
- echo "WARNING: COULD NOT FIND FIREFOX LIBRARIES"
- echo "WARNING: CONDUIT MAY CRASH UNEXPECTEDLY"
- echo "WARNING: PLEASE TALK TO THE PERSON WHO PACKAGED CONDUIT"
- $(dirname $0)/conduit.real $*
-fi
+for d in `ls -d /usr/lib/firefox* | sort -r`
+do
+ if [ -x $d/run-mozilla.sh ]; then
+ echo INFO: FOUND FIREFOX LIBS AT $d
+ $d/run-mozilla.sh $(dirname $0)/conduit.real $*
+ exit
+ fi
+done
+
+echo "WARNING: COULD NOT FIND FIREFOX LIBRARIES"
+echo "WARNING: CONDUIT MAY CRASH UNEXPECTEDLY"
+echo "WARNING: PLEASE TALK TO THE PERSON WHO PACKAGED CONDUIT"
+$(dirname $0)/conduit.real $*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]