]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/server_linux.sh
Make the Xonotic maps no longer exempt of the sRGB requirement, now that all fulfill...
[xonotic/xonotic.git] / server / server_linux.sh
index cddfe9cefb00496df5a72ec0ac788d21f6713b5d..d45ae168d5ca5e70b465170000ac7f1837395d54 100755 (executable)
@@ -1,21 +1,21 @@
 #!/bin/sh
 
 case "$(uname -m)" in
 #!/bin/sh
 
 case "$(uname -m)" in
-  x86_64)      executable="nexuiz-linux-x86_64-dedicated" ;;
-  *)           executable="nexuiz-linux-686-dedicated" ;;
+  x86_64)      executable="xonotic-linux64-dedicated" ;;
+  *)           executable="xonotic-linux32-dedicated" ;;
 esac
 
 cd "`dirname "${0}"`"
 
 if ! [ -x "$executable" ]; then
 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"
                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
                exit 1
        fi
 fi