summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-www/mozilla/files/mozilla.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-www/mozilla/files/mozilla.sh b/net-www/mozilla/files/mozilla.sh
index 3c71377c43e7..42a027254009 100644
--- a/net-www/mozilla/files/mozilla.sh
+++ b/net-www/mozilla/files/mozilla.sh
@@ -41,7 +41,13 @@ ulimit -c 0
##
MOZ_DIST_BIN="/usr/lib/mozilla"
MOZ_PROGRAM="/usr/lib/mozilla/mozilla-bin"
-MOZ_CLIENT_PROGRAM="/usr/lib/mozilla/mozilla-xremote-client"
+
+if [ -x /usr/lib/mozilla/mozilla-xremote-client ]
+then
+ MOZ_CLIENT_PROGRAM="/usr/lib/mozilla/mozilla-xremote-client"
+else
+ MOZ_CLIENT_PROGRAM="/usr/lib/mozilla/mozilla-bin"
+fi
##
## Set MOZILLA_FIVE_HOME