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
4343 fix_armar.sh
4444 elif [ " ${shortname} " == " ark" ]; then
4545 fix_ark.sh
46+ elif [ " ${shortname} " == " av" ]; then
47+ fix_av.sh
4648 elif [ " ${shortname} " == " bt" ]; then
4749 fix_bt.sh
4850 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]}")")"
99
1010export LD_LIBRARY_PATH=" $LD_LIBRARY_PATH :${serverfiles} :${serverfiles} /linux64"
1111
12- if [ " ${postinstall} " == " 1" ]; then
12+ # Generates the server config if it doesn't exist.
13+ if [ ! -f " ${servercfgfullpath} " ]; then
1314 startparameters=" --datapath ${avdatapath} --galaxy-name ${selfname} --init-folders-only"
1415 fn_print_information " starting ${gamename} server to generate configs."
1516 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} "
1919fi
You can’t perform that action at this time.
0 commit comments