#!/bin/sh # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox-bin/files/firefox,v 1.3 2004/07/15 00:30:30 agriffis Exp $ export MOZILLA_FIVE_HOME="/opt/firefox" FIREBIRD_PATH="/opt/firefox" if [ -z "`/bin/ps x | /bin/grep \"[0-9] ${FIREBIRD_PATH}/firefox-bin\"`" ]; then # No MozillaFirebird running ${FIREBIRD_PATH}/firefox $@ else # MozillaFirebird running - open a new window ${FIREBIRD_PATH}/firefox -remote "openURL($@ ,new-window)" fi