diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-02-26 18:48:48 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-02-26 18:48:48 +0100 |
commit | 55357e9ed599283cea41c8b47b527c7403282ffd (patch) | |
tree | e21f959b2288597c2d1e232cac58bd4e00818f7e /test/openoffice-3.2/soffice-detect-mozilla-certificates.diff | |
parent | 72c9e5a7cdf8f44aaef85b8316ecbbef5d5fa5ce (diff) | |
download | nutyx-extra-55357e9ed599283cea41c8b47b527c7403282ffd.tar.gz nutyx-extra-55357e9ed599283cea41c8b47b527c7403282ffd.tar.bz2 nutyx-extra-55357e9ed599283cea41c8b47b527c7403282ffd.tar.xz nutyx-extra-55357e9ed599283cea41c8b47b527c7403282ffd.zip |
openoffice-3.2, déplacé dans test
Diffstat (limited to 'test/openoffice-3.2/soffice-detect-mozilla-certificates.diff')
-rw-r--r-- | test/openoffice-3.2/soffice-detect-mozilla-certificates.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/openoffice-3.2/soffice-detect-mozilla-certificates.diff b/test/openoffice-3.2/soffice-detect-mozilla-certificates.diff new file mode 100644 index 000000000..b3be61bc4 --- /dev/null +++ b/test/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 |