summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-07-08 21:05:31 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-07-08 21:05:31 +0000
commit23bcab811eebbe1c4ada7166c6754789d60a20eb (patch)
tree8bbf9388454d59bec5ec18abe85fa18821bb0dd1 /net-www
parentminor changes (diff)
downloadhistorical-23bcab811eebbe1c4ada7166c6754789d60a20eb.tar.gz
historical-23bcab811eebbe1c4ada7166c6754789d60a20eb.tar.bz2
historical-23bcab811eebbe1c4ada7166c6754789d60a20eb.zip
small fix
Diffstat (limited to 'net-www')
-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