build/package/debian/runner
author nrthomas@gmail.com
Wed, 07 Nov 2007 10:28:11 -0800
changeset 7665 eaa2b0789a8e20736a73fd10df2cc38ce61cce36
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Bug 401741, bump nightly version to 3.0b2pre, r=ccooper, a=beltzner

#!/bin/sh
# A simple script to start mozilla.

MOZILLA_DIR=/usr/lib/mozilla

# Check for a $HOME/.mozilla directory.  If it doesn't exist, create a GOOD one
if [ ! -d $HOME/.mozilla ]
then
    cd $HOME
    mkdir .mozilla
    for file in $MOZILLA_DIR/*; do
        if [ `basename $file` != component.reg ]; then
            ln -s $file $HOME/.mozilla
	fi
    done
fi

export LD_LIBRARY_PATH=$MOZILLA_DIR   MOZILLA_FIVE_HOME=$HOME/.mozilla

exec $MOZILLA_DIR/apprunner "$@"