home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / WebObjects / WebServer / WebServer_1_0_Solaris / WebServerInstall < prev   
Encoding:
Text File  |  1996-02-28  |  743 b   |  37 lines

  1. #!/bin/sh
  2. #
  3. # Copyright (c) 199-1995 NeXT Computer, Inc.
  4. # All Rights Reserved
  5. #
  6.  
  7. WOFDIR=`pwd`
  8. WOFSERVERTARZ=WebServer.TAR.Z
  9.  
  10. clear
  11. echo "Would you like to install the HTTP Server? [yn]\c"
  12. read answer
  13.  
  14. case $answer in
  15.   y | Y | YES | yes | Yes)
  16.     if [ ! -f ${WOFDIR}/${WOFSERVERTARZ} ]; then
  17.     echo "I was unable to find the WebObjects Server release."
  18.     echo "Please \`cd' to the installation directory and try again."
  19.     echo ""
  20.     exit 1
  21.     fi
  22.     echo "Begining installation of HTTP Server ..."
  23.     (cd / ; $WOFDIR/gnutar --uncompress -x -v -f ${WOFDIR}/${WOFSERVERTARZ} )
  24.     echo ""
  25.     echo ""
  26.     echo "HTTP Server has been installed."
  27.     ;;
  28.   *)
  29.     echo ""
  30.     echo "No Server installation performed."
  31.     echo ""
  32.     ;;
  33. esac
  34.  
  35. exit 0
  36.  
  37.