|
|
cc5eeb0 |
#!/bin/sh
|
|
|
cc5eeb0 |
|
|
|
e520f06 |
# Create the fake application dir.
|
|
|
392c459 |
APPDIR=`(cd ~; pwd)`/.azureus/app
|
|
|
392c459 |
if ! test -d $APPDIR; then
|
|
|
392c459 |
mkdir -p $APPDIR;
|
|
|
392c459 |
fi
|
|
|
392c459 |
|
|
|
e520f06 |
# Reconstruct the plugins dir.
|
|
|
e520f06 |
rm -rf $APPDIR/plugins
|
|
|
e520f06 |
mkdir -p $APPDIR/plugins
|
|
|
6ba05ab |
pushd $APPDIR/plugins > /dev/null 2>&1
|
|
|
e520f06 |
for pdir in /usr/share/azureus/plugins/*; do
|
|
|
e520f06 |
ln -s $pdir .;
|
|
|
e520f06 |
done;
|
|
|
6ba05ab |
popd > /dev/null 2>&1
|
|
|
e520f06 |
|
|
Lillian Angel |
d1eaf58 |
MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9b2pre/ JAVA_HOME=/usr/lib/jvm/java-icedtea LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:/usr/lib/eclipse/plugins/:/usr/lib/eclipse/:/usr/lib/ CLASSPATH=/usr/lib/eclipse/swt.jar:`build-classpath bcprov jakarta-commons-cli log4j gtk2.8 glib0.2`:/usr/share/azureus/Azureus2.jar java -Dazureus.install.path=$APPDIR org.gudy.azureus2.ui.swt.Main "$@"
|