#!/bin/sh if [ ! -e ~/.armagetron ]; then mkdir ~/.armagetron{,/config,/log,/var} ln -s GAMES_PREFIX_OPT/armagetron/config/{{default,aiplayers}.cfg,master.srv} ~/.armagetron/config/ cp GAMES_PREFIX_OPT/armagetron/config/settings.cfg ~/.armagetron/config/ ln -s GAMES_PREFIX_OPT/armagetron/{arenas,models,moviesounds,textures,language,moviepack,sound} ~/.armagetron/ fi cd ~/.armagetron GAMES_PREFIX_OPT/armagetron/armagetron "$@"