#!/bin/sh
#
# Quake wrapper script. By Joey Hess <joeyh@master.debian.org>.

# This is the default directory where the quake libraries are to be found.
# It can be overridden by the config file.
quakedir=/var/lib/games/quake

# Read config file.
if [ -f /etc/quake.conf ]; then 
	source /etc/quake.conf
fi

cd $quakedir
exec $0.real $@
