#!/bin/sh
#
# Copyright (c) 1999 Sun Microsystems, Inc., All Rights Reserved 
#
# Sun WebServer postinstall
# Populate the default web server instance and site
#
INSTALL_ROOT=$BASEDIR
UPGR_SCRIPT=/tmp/SUNWhttp.upgr.$PKGINST
#
# Create the server instance registry
# This is a data file; we don't want pkgrm removing it.
#
/bin/touch ${INSTALL_ROOT}/etc/opt/SUNWut/http/httpd-instances.conf

if [ x"$DO_UPGRADE" = x"yes" ]; then
	${INSTALL_ROOT}/opt/SUNWut/http/lib/update_jsdk.sh 
else
	/bin/rm ${INSTALL_ROOT}/etc/opt/SUNWut/http/httpd-instances.conf
	/bin/touch ${INSTALL_ROOT}/etc/opt/SUNWut/http/httpd-instances.conf
fi;
