# $Id: checkinstall,v 1.4 2006/06/25 01:06:25 elkner Exp $

if [ -z "$PKG_INSTALL_ROOT" -o "$PKG_INSTALL_ROOT" = "/" ]; then
        PARAM=""
else
        PARAM="-R $PKG_INSTALL_ROOT"
fi

# Apache installed ?
pkginfo -q $PARAM LNFapache-httpd2
if [ $? -eq 0 ]; then
	# rename basedir, if apaci was installed to apacis basedir
	BASEDIR=`pkgparam $PARAM LNFapache-httpd2 BASEDIR`
	# check whether we need to modify apache's manuals
fi
cat >$1 <<EOF
BASEDIR=$BASEDIR
EOF
