#!/bin/sh -e

if [ ! -L /usr/share/games/quake/id1 ]; then
	/usr/sbin/quake-lib-config
fi

update-alternatives --install /usr/share/games/quake/base quake-game-base \
                              /usr/share/games/quake/id1 20

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/quake-lib-stub -a -d /usr/share/doc/quake-lib-stub ]; then
		ln -sf ../share/doc/quake-lib-stub /usr/doc/quake-lib-stub
	fi
fi
# End automatically added section

