#
# usage:        intro_s.sh
#
# abstract:     This Bourne Shell script outputs the normal install
#               introduction. 
#
# note(s):      1. This routine must be called using a . (period)
#
# Copyright (c) 1992-2003 The MathWorks, Inc. 
# $Revision: 1.27.4.2 $  $Date: 2003/12/11 18:21:45 $
#----------------------------------------------------------------------------
#
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    title="Welcome to the MATLAB NORMAL Install"
    . $dir/$center_sh
echo ''
echo 'Be prepared to provide MATLAB system configuration information for the tasks:'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    if [ "$usermode" = "0" ]; then
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    ---------------------------------------------------------------------'
echo '    |   ALWAYS DONE -                                                   |'
echo '    |  A1. Create scripts in $MATLAB/bin directory                      |'
echo '    |  A2. Generate MATLAB path in $MATLAB/toolbox/local/pathdef.m      |'
echo '    |  A3. Install M-files in $MATLAB/toolbox/local directory           |'
echo '    |                                                                   |'
echo '    |   OPTIONAL (asked first) -                                        |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	if [ "$minimal_install" = "0" ]; then
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    |  B1. Create symbolic links to scripts in $MATLAB/bin directory    |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	fi
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    |  B2. Install the FLEXlm Network License Manager                   |'
echo '    |                                                                   |'
echo '    |   ALWAYS DONE (if license manager is installed) -                 |'
echo '    |  C1. Create scripts in $MATLAB/etc directory                      |'
echo '    |  C3. Create template license.dat file in $MATLAB/etc directory    |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	if [ "$minimal_install" = "0" ]; then
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    |                                                                   |'
echo '    |   OPTIONAL (asked first if license manager is installed) -        |'
echo '    |  C2. Build symbolic links /etc/lmboot_TMW, /etc/lmdown_TMW        |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	fi
echo '    ---------------------------------------------------------------------'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    else
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    ---------------------------------------------------------------------'
echo '    |   ALWAYS DONE -                                                   |'
echo '    |  A1. Create scripts in $MATLAB/bin directory                      |'
echo '    |  A2. Generate MATLAB path in $MATLAB/toolbox/local/pathdef.m      |'
echo '    |  A3. Install M-files in $MATLAB/toolbox/local directory           |'
echo '    |                                                                   |'
echo '    |   OPTIONAL (asked first) -                                        |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	if [ "$minimal_install" = "0" ]; then
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    | *B1. Create symbolic links to scripts in $MATLAB/bin directory    |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	fi
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    |  B2. Install the FLEXlm Network License Manager                   |'
echo '    |                                                                   |'
echo '    |   ALWAYS DONE (if license manager is installed) -                 |'
echo '    |  C1. Create scripts in $MATLAB/etc directory                      |'
echo '    |  C3. Create template license.dat file in $MATLAB/etc directory    |'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	if [ "$minimal_install" = "0" ]; then
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    |                                                                   |'
echo '    |   SKIPPED (you are not superuser) -                               |'
echo '    | +C2. Build symbolic links /etc/lmboot_TMW, /etc/lmdown_TMW        |'
echo '    ---------------------------------------------------------------------'
echo "'*' superuser access maybe required. '+' superuser access is required."
echo ' '
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	else
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo '    ---------------------------------------------------------------------'
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	fi
    fi
