Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / build / package / debian / runner
blobf5c77a999f42b3b7771287f0fbdcbb631f3aee3c
1 #!/bin/sh
2 # A simple script to start mozilla.
4 MOZILLA_DIR=/usr/lib/mozilla
6 # Check for a $HOME/.mozilla directory. If it doesn't exist, create a GOOD one
7 if [ ! -d $HOME/.mozilla ]
8 then
9 cd $HOME
10 mkdir .mozilla
11 for file in $MOZILLA_DIR/*; do
12 if [ `basename $file` != component.reg ]; then
13 ln -s $file $HOME/.mozilla
15 done
18 export LD_LIBRARY_PATH=$MOZILLA_DIR MOZILLA_FIVE_HOME=$HOME/.mozilla
20 exec $MOZILLA_DIR/apprunner "$@"