#! /usr/bin/sh # Copyright 1998 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA # 94303, U.S.A. All rights reserved. Third-party software, including font # technology, is copyrighted and licensed from Sun suppliers. This product # or document is protected by copyright and distributed under licenses # restricting its use, copying, distribution, and decompilation. No part of # this product or document may be reproduced in any form by any means # without prior written authorization of Sun and its licensors, if any. # # Sun, the Sun logo, Sun Microsystems, The Network Is The Computer, Sun.Net, # My.Sun.Net, Java, Java Web Server, HotJava, JavaScript, the Java Coffee # Cup logo, Solaris, Sun Workstation are trademarks or registered trademarks # of Sun Microsystems, Inc. in the United States and other countries. # # U.S. Government approval required when exporting the product. # # RESTRICTED RIGHTS: Use, duplication, or disclosure by the U.S. Government # is subject to restrictions of FAR 52.227-14(g)(2)(6/87) and FAR # 52.227-19(6/87), or DFARS 252.227-7015(b)(6/95) and DFARS 227.7202-3(a). # # define executables if [ "$PKGINFO" = "" ]; then PKGINFO=/usr/bin/pkginfo fi if [ "$PKGCHK" = "" ]; then PKGCHK=/usr/sbin/pkgchk fi if [ "$DIRNAME" = "" ]; then DIRNAME=/usr/bin/dirname fi if [ "$GREP" = "" ]; then GREP=/usr/bin/grep fi if [ "$HEAD" = "" ]; then HEAD=/usr/bin/head fi if [ "$CUT" = "" ]; then CUT=/usr/bin/cut fi # define environ vars JWS=SUNWhttp # check first to make sure java web server is installed #$PKGINFO -q $JWS > /dev/null #if [ $? -ne 0 ]; then # echo "Java Web Server package: $JWS, Not installed" # echo " Aborting..." # exit 3 #else # # pkg exists, so must make JWSPATH reflect pkg location # JWSPATH=`$PKGCHK -l $JWS | $GREP /properties/javawebserver | $HEAD -1 | $CUT -f2 -d" "` # # # make vars available to rest of pkg scripts # cat >$1 <