Created
December 6, 2011 19:11
-
-
Save bohoomil/1439487 to your computer and use it in GitHub Desktop.
Acrobat Reader launcher fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- acroread.old 2011-12-16 13:20:01.933286548 +0100 | |
+++ acroread 2011-12-16 13:21:55.579337535 +0100 | |
@@ -526,7 +526,7 @@ fi | |
if [ -z "$mozillaPath" ]; then | |
MozPath="`gconftool-2 -g /desktop/gnome/url-handlers/http/command 2>/dev/null | cut -d ' ' -f1 2>/dev/null`" | |
[ -x "${MozPath}" ] || MozPath="`Which "$MozPath"`" | |
- mozillaPath="`readlink "$MozPath" | xargs dirname`" | |
+ [ -n "${MozPath}" ] || mozillaPath="`readlink "$MozPath" | xargs dirname`" | |
if [ -n "$mozillaPath" ] && $TestCmd $TestCmdOption "$mozillaPath/libgtkembedmoz.so" || $TestCmd $TestCmdOption "$mozillaPath/libxul.so" ; then | |
MOZILLA_COMP_PATH="$mozillaPath" | |
export MOZILLA_COMP_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment