diff options
author | Rene Engelhard <rene@debian.org> | 2006-10-08 12:06:47 +0000 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2006-10-08 12:06:47 +0000 |
commit | 12e79885cc568162ffe0d402e667c457d76d8923 (patch) | |
tree | fd012094ce5cd754c399c9b9dfb59f9fa6072d15 | |
parent | d4d0410a96991d12d1ba2c156fbfd56225f97215 (diff) |
Add patch to handle multiple mozilla profiles in the same subdir and profiles with spaces
* patches/src680/soffice-detect-mozilla-certificates.diff: add patch
to handle multiple mozilla profiles in the same subdir and profiles
with spaces
-rw-r--r-- | patches/src680/soffice-detect-mozilla-certificates.diff | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/patches/src680/soffice-detect-mozilla-certificates.diff b/patches/src680/soffice-detect-mozilla-certificates.diff index 4d9126eb9..3aaa786a2 100644 --- a/patches/src680/soffice-detect-mozilla-certificates.diff +++ b/patches/src680/soffice-detect-mozilla-certificates.diff @@ -18,10 +18,12 @@ diff -u -u -r1.25 soffice.sh + fi; + done + if [ -n "$dir" ]; then -+ cert8=`find $dir -name "cert8.db"` -+ profiledir=`dirname $cert8` -+ MOZILLA_CERTIFICATE_FOLDER=$profiledir -+ export MOZILLA_CERTIFICATE_FOLDER ++ 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 + |