~ubuntu-branches/ubuntu/karmic/openoffice.org-l10n/karmic

« back to all changes in this revision

Viewing changes to ooo-build/patches/src680/soffice-detect-mozilla-certificates.diff

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-10-01 19:53:30 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061001195330-t7rhiz7ac1dy8fn8
Tags: 2.0.4~rc3-0ubuntu1
* Copy of the openoffice.org source.
  - debian/control.in: Change source name.
  - debian/changelog: Change source name.
  - debian/control: Regenerate control file.
* Include translations from Rosetta 2006-09-28.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
diff -u -u -r1.25 soffice.sh
6
6
--- desktop/scripts/soffice.sh  5 Jul 2006 22:33:58 -0000       1.25
7
7
+++ desktop/scripts/soffice.sh  9 Sep 2006 11:07:33 -0000
8
 
@@ -189,6 +189,20 @@
 
8
@@ -189,6 +189,22 @@
9
9
 OPENOFFICE_MOZILLA_FIVE_HOME="$sd_inst/program"
10
10
 export OPENOFFICE_MOZILLA_FIVE_HOME
11
11
 
17
17
+                       dir=$d;
18
18
+               fi;
19
19
+       done
20
 
+       cert8=`find $dir -name "cert8.db"`
21
 
+       profiledir=`dirname $cert8`
22
 
+       MOZILLA_CERTIFICATE_FOLDER=$profiledir
23
 
+       export MOZILLA_CERTIFICATE_FOLDER
 
20
+       if [ -n "$dir" ]; then
 
21
+               cert8=`find $dir -name "cert8.db"`
 
22
+               profiledir=`dirname $cert8`
 
23
+               MOZILLA_CERTIFICATE_FOLDER=$profiledir
 
24
+               export MOZILLA_CERTIFICATE_FOLDER
 
25
+       fi
24
26
+fi
25
27
+
26
28
 unset XENVIRONMENT