/usr/games/armagetronad is in armagetronad 0.2.8.3.2-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #!/bin/sh -e
REALTRON=/usr/games/armagetronad.real
DATADIR=/usr/share/games/armagetronad
CONFDIR=/etc/armagetronad
USERCONFDIR=$HOME/.armagetronad
USERDATADIR=$USERCONFDIR/data
VARDIR=$USERCONFDIR/var
if [ ! -d $USERCONFDIR ]; then
# have to create configuration directory
mkdir $USERCONFDIR
if [ -f $HOME/.ArmageTronrc ]; then
# upgrade from before 0.2
cp $HOME/.ArmageTronrc $USERCONFDIR/user.cfg
fi
fi
if [ ! -d $VARDIR ]; then
mkdir $VARDIR
fi
CMDLINE="--datadir $DATADIR --configdir $CONFDIR --userconfigdir $USERCONFDIR --vardir $VARDIR"
if [ -d $USERDATADIR ]; then
CMDLINE="$CMDLINE --userdatadir $USERDATADIR"
fi
exec $REALTRON $CMDLINE "$@"
|