Patch: Add support for icedove
- From: Patrick Ammann <pammann gmx net>
- To: conduit-list gnome org
- Subject: Patch: Add support for icedove
- Date: Tue, 12 Aug 2008 22:07:05 +0200
Thanks,
Patrick
Index: conduit
===================================================================
--- conduit (revision 1657)
+++ conduit (working copy)
@@ -8,17 +8,28 @@
# Run mozilla takes care of settin up the appropriate environment variables
# to run a program using mozilla libs
-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
+ALL_OPTIONS=$*
+
+run_mozilla () {
+dir=$1
+if [ -x $dir/run-mozilla.sh ]; then
+ echo INFO: FOUND FIREFOX LIBS AT $dir
+ $dir/run-mozilla.sh $(dirname $0)/conduit.real $ALL_OPTIONS
+ exit
+fi
+}
+
+# Mozilla like
+for d in `ls -d /usr/lib*/firefox* | sort -r`; do
+ run_mozilla $d
done
+# Debian like
+for d in `ls -d /usr/lib*/icedove* | sort -r`; do
+ run_mozilla $d
+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]