# $Id: checkinstall,v 1.3 2003/06/03 03:23:29 elkner Exp $

# Apache installed ?

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

pkginfo -q $PARAM LNFapache-httpd
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
