3 executable="nexuiz-osx-dedicated"
7 if ! [ -x "$executable" ]; then
8 if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
11 echo "This script is not properly set up yet."
12 echo "Please refer to the instructions in readme.txt."
14 echo "- copy server.cfg to the data directory and adjust its settings"
15 echo "- move this file to the main directory of your Nexuiz installation"
20 exec ./${executable} +serverconfig server.cfg "${@}"