1
by luke-jr
Unify tags/branches of modules released together |
1 |
#!/bin/sh
|
2 |
#
|
|
3 |
# starts @progtitle@ master server query tool from the installation directory
|
|
4 |
||
5 |
INSTALL=@prefix@/games/@progname@ |
|
6 |
||
7 |
if [ ! -r $HOME/.@prognamebase@ ] ; then |
|
8 |
mkdir $HOME/.@prognamebase@
|
|
9 |
fi
|
|
10 |
||
11 |
if [ "x$1" = "x-h" ] ; then |
|
12 |
echo -e "\n\nTo uninstall @progtitle@, type @progname@ --uninstal." |
|
13 |
fi
|
|
14 |
||
15 |
if [ "x$1" = "x--uninstall" ] ; then |
|
16 |
$INSTALL/bin/uninstall
|
|
17 |
else
|
|
18 |
$INSTALL/bin/@prognamebase@-stat --datadir $INSTALL @configdir@ --userdatadir $HOME/.@prognamebase@ $* |
|
19 |
fi
|
|
20 |