summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www/mozilla-firebird/files/MozillaFirebird')
-rw-r--r--net-www/mozilla-firebird/files/MozillaFirebird20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-www/mozilla-firebird/files/MozillaFirebird b/net-www/mozilla-firebird/files/MozillaFirebird
new file mode 100644
index 000000000000..6e5054da0eb6
--- /dev/null
+++ b/net-www/mozilla-firebird/files/MozillaFirebird
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firebird/files/MozillaFirebird,v 1.1 2003/06/02 21:40:42 brad Exp $
+
+# This is the Gentoo Phoenix startup script
+# Additions, suggestions?
+# contact phoen][x <phoenix@gentoo.org>
+
+export MOZILLA_FIVE_HOME="/usr/lib/MozillaFirebird"
+FIREBIRD_PATH="/usr/lib/MozillaFirebird"
+
+if [ -z "`/bin/ps x | /bin/grep \"[0-9] ${FIREBIRD_PATH}/MozillaFirebird-bin\"`" ]; then
+ # No MozillaFirebird running
+ ${FIREBIRD_PATH}/MozillaFirebird $@
+else
+ # MozillaFirebird running - open a new window
+ ${FIREBIRD_PATH}/MozillaFirebird -remote "openURL($@ ,new-window)"
+fi