summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-07-12 20:41:36 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-07-12 20:41:36 +0000
commit639835de54e81e0030869fb3de8885bcd81c9b01 (patch)
tree1190311970dc692f3b3a7d5a06c5009d9b5bfc14 /net-www
parentcloses bug 4603 (diff)
downloadgentoo-2-639835de54e81e0030869fb3de8885bcd81c9b01.tar.gz
gentoo-2-639835de54e81e0030869fb3de8885bcd81c9b01.tar.bz2
gentoo-2-639835de54e81e0030869fb3de8885bcd81c9b01.zip
fix wrapper for gtk2
Diffstat (limited to 'net-www')
-rw-r--r--net-www/mozilla/ChangeLog7
-rw-r--r--net-www/mozilla/files/mozilla.sh31
2 files changed, 21 insertions, 17 deletions
diff --git a/net-www/mozilla/ChangeLog b/net-www/mozilla/ChangeLog
index 75ebf0c9d757..ea0665c78aa9 100644
--- a/net-www/mozilla/ChangeLog
+++ b/net-www/mozilla/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/mozilla
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.25 2002/07/07 21:24:27 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.26 2002/07/12 20:41:36 azarah Exp $
+
+ 13 Jul 2002; Martin Schlemmer <azarah@gentoo.org> mozilla.sh :
+ Update to fix a bug with gtk2 (mozilla-xremote-client are not created).
+ This cause mozilla not to run, or some wierd stuff in the browser window.
+ Should close bug #4758.
*mozilla-1.0-r3 (7 Jul 2002)
diff --git a/net-www/mozilla/files/mozilla.sh b/net-www/mozilla/files/mozilla.sh
index 42a027254009..79bfdce5ab8a 100644
--- a/net-www/mozilla/files/mozilla.sh
+++ b/net-www/mozilla/files/mozilla.sh
@@ -41,13 +41,7 @@ ulimit -c 0
##
MOZ_DIST_BIN="/usr/lib/mozilla"
MOZ_PROGRAM="/usr/lib/mozilla/mozilla-bin"
-
-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
+MOZ_CLIENT_PROGRAM="/usr/lib/mozilla/mozilla-xremote-client"
##
## Set MOZILLA_FIVE_HOME
@@ -174,15 +168,20 @@ function set_jvm_vars() {
}
function check_running() {
- $MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null
- RETURN_VAL=$?
- if [ "$RETURN_VAL" -eq "2" ]; then
- echo 0
- return 0
- else
- echo 1
- return 1
- fi
+ if [ -x $MOZ_CLIENT_PROGRAM ]; then
+ $MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null
+ RETURN_VAL=$?
+ if [ "$RETURN_VAL" -eq "2" ]; then
+ echo 0
+ return 0
+ else
+ echo 1
+ return 1
+ fi
+ else
+ echo 0
+ return 0
+ fi
}
function open_mail() {