File:  [mozdev] / aphrodite / scripts / aphrodite
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Oct 16 18:04:25 2002 UTC (15 years, 1 month ago) by petejc
Branches: MAIN
CVS tags: HEAD
tweaking aphrodite launch shell script so it will automatically detect launch mozilla or phoenix.

--pete

#!/bin/sh

CHROME_DEF="-chrome chrome://aphrodite/content/";
CHROME="$CHROME_DEF";
INST_FILE="install.xul";

MOZ_BIN=`pwd`/mozilla;

if test "$1" = "install" || test "$1" = "-i"; then
  CHROME="$CHROME$INST_FILE";
fi

if test -f $MOZ_BIN; then
  echo passed;
  ./mozilla $CHROME;
else
  ./phoenix $CHROME;
fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>