File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ if [ "${commandname}" != "INSTALL" ] && [ -z "${fixbypass}" ]; then
43
43
fix_armar.sh
44
44
elif [ " ${shortname} " == " ark" ]; then
45
45
fix_ark.sh
46
+ elif [ " ${shortname} " == " av" ]; then
47
+ fix_av.sh
46
48
elif [ " ${shortname} " == " bt" ]; then
47
49
fix_bt.sh
48
50
elif [ " ${shortname} " == " bo" ]; then
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
9
9
10
10
export LD_LIBRARY_PATH=" $LD_LIBRARY_PATH :${serverfiles} :${serverfiles} /linux64"
11
11
12
- if [ " ${postinstall} " == " 1" ]; then
12
+ # Generates the server config if it doesn't exist.
13
+ if [ ! -f " ${servercfgfullpath} " ]; then
13
14
startparameters=" --datapath ${avdatapath} --galaxy-name ${selfname} --init-folders-only"
14
15
fn_print_information " starting ${gamename} server to generate configs."
15
16
fn_sleep_time
16
- # go to the executeable dir and start the init of the server
17
- cd " ${systemdir} " || return 2
18
- " ${executabledir} /${executable} " ${startparameters}
17
+ cd " ${systemdir} " || exit
18
+ eval " ${executable} ${startparameters} "
19
19
fi
You can’t perform that action at this time.
0 commit comments