summarylogtreecommitdiffstats
path: root/caas-web
blob: 6095c19349821d2af763c6fa991cf37eb5da87e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
DATAHOME=$XDG_DATA_HOME
if [ -z "$XDG_DATA_HOME"]
    then
	DATAHOME=$HOME/.local/share
fi
PROGDATA=$DATAHOME/caas-web/
if [ ! -d "$PROGDATA" ]
    then
	mkdir -p "$PROGDATA"
fi
cd $PROGDATA
exec /usr/bin/java -jar '/usr/share/java/caas-web/caas-web.jar' "$@"