blob: 635b9a6711ee11ac331e19a9e8dabdb39f68a0db (
plain)
1 --- acroread.orig 2011-11-18 11:39:00.303834998 +0100
2 +++ acroread 2011-11-18 11:30:59.000000000 +0100
3 @@ -526,7 +526,7 @@ fi
4 if [ -z "$mozillaPath" ]; then
5 MozPath="`gconftool-2 -g /desktop/gnome/url-handlers/http/command 2>/dev/null | cut -d ' ' -f1 2>/dev/null`"
6 [ -x "${MozPath}" ] || MozPath="`Which "$MozPath"`"
7 - mozillaPath="`readlink "$MozPath" | xargs dirname`"
8 + [ -n $MozPath ] || mozillaPath="`readlink "$MozPath" | xargs dirname`"
9 if [ -n "$mozillaPath" ] && $TestCmd $TestCmdOption "$mozillaPath/libgtkembedmoz.so" || $TestCmd $TestCmdOption "$mozillaPath/libxul.so" ; then
10 MOZILLA_COMP_PATH="$mozillaPath"
11 export MOZILLA_COMP_PATH
|