aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/frost/files/wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/frost/files/wrapper.sh')
-rw-r--r--net-p2p/frost/files/wrapper.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/net-p2p/frost/files/wrapper.sh b/net-p2p/frost/files/wrapper.sh
index c5c67e25f5ae..d64b12941f6a 100644
--- a/net-p2p/frost/files/wrapper.sh
+++ b/net-p2p/frost/files/wrapper.sh
@@ -6,7 +6,7 @@ JAR_DIR="%%JAR_DIR%%"
JAR_FILE="%%JAR_FILE%%"
SHARE_DIR="%%SHARE_DIR%%"
HOME_DIR=${HOME}/.frost
-CLASSPATH="${PREFIX}/${JAR_DIR}/${JAR_FILE}:${PREFIX}/${JAR_DIR}/fecImpl.jar:${PREFIX}/${JAR_DIR}/genChkImpl.jar:${PREFIX}/${JAR_DIR}/xercesImpl.jar:${PREFIX}/${JAR_DIR}/xml-apis.jar:${PREFIX}/${JAR_DIR}/xmlParserAPIs.jar:$CLASSPATH"
+CLASSPATH="${PREFIX}/${JAR_DIR}/BCastle.jar:${PREFIX}/${JAR_DIR}/fecImpl.jar:${PREFIX}/${JAR_DIR}/frost.jar:${PREFIX}/${JAR_DIR}/genChkImpl.jar:${PREFIX}/${JAR_DIR}/jocache.jar:${PREFIX}/${JAR_DIR}/mailapi.jar:${PREFIX}/${JAR_DIR}/skinlf.jar:${PREFIX}/${JAR_DIR}/skinlfFix.jar:${PREFIX}/${JAR_DIR}/smtp.jar:${PREFIX}/${JAR_DIR}/xercesImpl.jar:${PREFIX}/${JAR_DIR}/xml-apis.jar:$CLASSPATH"
if [ ! -d ${HOME_DIR}/config ]
then
@@ -18,5 +18,15 @@ then
cp ${PREFIX}/${SHARE_DIR}/boards.xml.default ${HOME_DIR}/config/
fi
+if [ ! -d ${HOME_DIR}/themes ]
+then
+ mkdir -p ${HOME_DIR}/themes
+fi
+
+if [ ! -e ${HOME_DIR}/themes/themepack.zip ]
+then
+ cp ${PREFIX}/${SHARE_DIR}/themepack.zip ${HOME_DIR}/themes/
+fi
+
cd ${HOME_DIR} &&
exec ${JAVAVM} -cp $CLASSPATH frost.frost "${@}"