summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/projectx/projectx
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/community/projectx/projectx')
-rw-r--r--abs/extra-testing/community/projectx/projectx11
1 files changed, 5 insertions, 6 deletions
diff --git a/abs/extra-testing/community/projectx/projectx b/abs/extra-testing/community/projectx/projectx
index 904e834..1d540bc 100644
--- a/abs/extra-testing/community/projectx/projectx
+++ b/abs/extra-testing/community/projectx/projectx
@@ -1,11 +1,10 @@
#!/bin/sh
-# ProjectX GUI allways looks at $(pwd)/html/index.html
-# for its help file
-if [ "$#" -eq 0 ] ; then
-mkdir -p ~/.projectx
-cd ~/.projectx &&
-ln -s /opt/projectx/htmls .
+if [ ! -d ~/.projectx ] ; then
+ mkdir ~/.projectx
fi
+if [ "$#" -eq 0 ] ; then
+ cd ~/.projectx
+fi
java -jar /opt/projectx/ProjectX.jar "$@"