mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
21 lines
472 B
Plaintext
21 lines
472 B
Plaintext
|
#!/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 "$@"
|