#!/bin/sh # # $FreeBSD$ HOME_DIR=${HOME}/.ftjava CLASSPATH=".:%%DATADIR%%/FTJava.jar:%%DATADIR%%/xerces.jar:%%DATADIR%%/activation.jar:%%DATADIR%%/mail.jar" export JAVA_VERSION="%%JAVA_VERSION%%" [ ! -d ${HOME_DIR}/OutgoingGames ] && \ mkdir -p ${HOME_DIR}/OutgoingGames [ ! -d ${HOME_DIR}/IncomingGames ] && \ mkdir -p ${HOME_DIR}/IncomingGames [ ! -d ${HOME_DIR}/Images ] && \ ln -s %%DATADIR%%/Images ${HOME_DIR}/Images [ ! -d ${HOME_DIR}/Ships ] && \ ln -s %%DATADIR%%/Ships ${HOME_DIR}/Ships cd ${HOME_DIR} && exec %%LOCALBASE%%/bin/java -cp ${CLASSPATH} ftjava.gui.FTJava "${@}"