updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / frogmod-justice-git / frogserv.sh
blobec531fc9824c897e4f8fceb643e432f1f432e52f
1 #!/bin/sh
2 # could be done better, but works for now.
4 CONFDIR=$HOME/.frogmod
6 [ ! -d $CONFDIR ] && \
7 mkdir -p $CONFDIR
9 cd $CONFDIR
11 [ ! -f config.cfg ] && \
12 touch config.cfg
14 [ ! -f stdlib.cfg ] && \
15 ln -s /opt/frogmod-justice/stdlib.cfg .
17 [ ! -f server-init.cfg ] && \
18 cp /opt/frogmod-justice/server-init-example.cfg \
19 server-init.cfg
21 [ ! -d web ] && \
22 ln -s /opt/frogmod-justice/web/ .
24 /opt/frogmod-justice/bin/frogserv