esac
case "$(uname -m)" in
- x86_64) arch="x86_64" ;;
- *) arch="686" ;;
+ x86_64) arch="linux64" ;;
+ *) arch="linux32" ;;
esac
-voretournament="voretournament-linux-${arch}-${mode}"
+xonotic="xonotic-${arch}-${mode}"
-set -- ./${voretournament} "${@}"
+set -- ./${xonotic} "${@}"
xserver=
xlayout=
}
# now how do we execute it?
-if [ -r ~/.voretournament/data/config.cfg ]; then
+if [ -r ~/.xonotic/data/config.cfg ]; then
while read -r CMD KEY VALUE; do
case "$CMD:$KEY" in
seta:vid_x11_display)
setdisplay "$VALUE"
;;
esac
- done < ~/.voretournament/data/config.cfg
+ done < ~/.xonotic/data/config.cfg
fi
m=0
# X server already exists
export DISPLAY=:$xserver
prefix="DISPLAY=:$xserver "
- msg=$msg$lf"- Running VoreTournament on already existing display :$xserver"
+ msg=$msg$lf"- Running Xonotic on already existing display :$xserver"
else
set -- startx "$@" -fullscreen -- ":$xserver"
- msg=$msg$lf"- Running VoreTournament on a newly created X server :$xserver."
+ msg=$msg$lf"- Running Xonotic on a newly created X server :$xserver."
case "$xlayout" in
'')
;;
echo "Resulting command line:"
echo " $prefix$*"
echo
- echo "To undo these overrides, edit ~/.voretournament/data/config.cfg and remove the line"
+ echo "To undo these overrides, edit ~/.xonotic/data/config.cfg and remove the line"
echo "starting with 'seta vid_x11_display'."
echo
echo