diff options
author | sibel <sibel@free.fr> | 2010-02-20 16:31:29 +0100 |
---|---|---|
committer | sibel <sibel@free.fr> | 2010-02-20 16:31:29 +0100 |
commit | a8fe5f653a6987cb56eb4f27070821d6d56846a3 (patch) | |
tree | 61bfa6f28290dc091ee995a0f75211ce68359b3e /extra/openoffice-3.2/soffice-detect-mozilla-certificates.diff | |
parent | 61280296299b4641d741537b6d4e8d0279777d53 (diff) | |
download | nutyx-extra-a8fe5f653a6987cb56eb4f27070821d6d56846a3.tar.gz nutyx-extra-a8fe5f653a6987cb56eb4f27070821d6d56846a3.tar.bz2 nutyx-extra-a8fe5f653a6987cb56eb4f27070821d6d56846a3.tar.xz nutyx-extra-a8fe5f653a6987cb56eb4f27070821d6d56846a3.zip |
Ajout de openoffice-3.2#
Diffstat (limited to 'extra/openoffice-3.2/soffice-detect-mozilla-certificates.diff')
-rw-r--r-- | extra/openoffice-3.2/soffice-detect-mozilla-certificates.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/openoffice-3.2/soffice-detect-mozilla-certificates.diff b/extra/openoffice-3.2/soffice-detect-mozilla-certificates.diff new file mode 100644 index 000000000..b3be61bc4 --- /dev/null +++ b/extra/openoffice-3.2/soffice-detect-mozilla-certificates.diff @@ -0,0 +1,27 @@ +--- desktop/scripts/soffice.sh ++++ desktop/scripts/soffice.sh +@@ -207,6 +207,24 @@ + OPENOFFICE_MOZILLA_FIVE_HOME="$sd_inst/program" + export OPENOFFICE_MOZILLA_FIVE_HOME + ++if [ -z "$MOZILLA_CERTIFICATE_FOLDER" ]; then ++ db="" ++ dir="" ++ for d in $HOME/.mozilla/firefox $HOME/.firefox $HOME/.thunderbird $HOME/.gnome2/epiphany/mozilla $HOME/.mozilla/default $HOME/.mozilla; do ++ if [ -z "$dir" -a -d "$d" ]; then ++ dir=$d; ++ fi; ++ done ++ if [ -n "$dir" ]; then ++ cert8=`find $dir -name "cert8.db" | head -n 1` ++ if [ -n "$cert8" ]; then ++ profiledir=`dirname "$cert8"` ++ MOZILLA_CERTIFICATE_FOLDER=$profiledir ++ export MOZILLA_CERTIFICATE_FOLDER ++ fi ++ fi ++fi ++ + unset XENVIRONMENT + + # uncomment line below to disable anti aliasing of fonts |