X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=server%2Fserver_linux.sh;h=feda43b3651fdd0e0400763cffee0ca9185af096;hp=cddfe9cefb00496df5a72ec0ac788d21f6713b5d;hb=2ec7592650fe8ad01d877f7c6887d9f9dda143af;hpb=aa6f316cceb9ff4e7428c2605ed97e93a843252d;ds=inline diff --git a/server/server_linux.sh b/server/server_linux.sh index cddfe9ce..feda43b3 100755 --- a/server/server_linux.sh +++ b/server/server_linux.sh @@ -1,21 +1,21 @@ #!/bin/sh case "$(uname -m)" in - x86_64) executable="nexuiz-linux-x86_64-dedicated" ;; - *) executable="nexuiz-linux-686-dedicated" ;; + x86_64) executable="xonotic-linux-x86_64-dedicated" ;; + *) executable="xonotic-linux-686-dedicated" ;; esac cd "`dirname "${0}"`" if ! [ -x "$executable" ]; then - if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then + if [ -x "../$executable" ] && { [ -f ~/.xonotic/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then cd .. else echo "This script is not properly set up yet." echo "Please refer to the instructions in readme.txt." echo "In short:" echo "- copy server.cfg to the data directory and adjust its settings" - echo "- move this file to the main directory of your Nexuiz installation" + echo "- move this file to the main directory of your Xonotic installation" exit 1 fi fi