View | Details | Raw Unified | Return to bug 25633
Collapse All | Expand All

(-)/usr/lib/libreoffice/program/soffice.orig (-9 / +4 lines)
Lines 17-31 Link Here
17
fi
17
fi
18
18
19
if [ -z "$MOZILLA_CERTIFICATE_FOLDER" ]; then
19
if [ -z "$MOZILLA_CERTIFICATE_FOLDER" ]; then
20
	for d in $HOME/.local $HOME/.mozilla; do
20
	cert8=$( { ls -1 $HOME/.mozilla/*/*/cert8.db || find $HOME/.local -name 'cert8.db' ; } 2>/dev/null | head -n 1 )
21
		if [ -d "$d" ]; then
21
	if [ -n "$cert8" ]; then
22
			cert8=$(find "$d" -name cert8.db | head -1)
22
		export MOZILLA_CERTIFICATE_FOLDER=$(dirname $cert8)
23
			if [ -n "$cert8" ]; then
23
	fi
24
				export MOZILLA_CERTIFICATE_FOLDER=$(dirname $cert8)
25
				break
26
			fi
27
		fi
28
	done
29
fi
24
fi
30
25
31
unset XENVIRONMENT
26
unset XENVIRONMENT

Return to bug 25633