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
commite3e913c19adf207b03fa4c13755d64fbe074460d (patch)
treeccfc0ab4ff3eaf96bd457e488c7fde9074eabdde /net-www
parentminor changes (diff)
downloadgentoo-2-e3e913c19adf207b03fa4c13755d64fbe074460d.tar.gz
gentoo-2-e3e913c19adf207b03fa4c13755d64fbe074460d.tar.bz2
gentoo-2-e3e913c19adf207b03fa4c13755d64fbe074460d.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