home *** CD-ROM | disk | FTP | other *** search
- :
- #
- # $Header: setup.ver,v 6.5 89/05/09 18:56:26 rafsarif Exp $ setup.ver Copyr (c) 1989 Oracle
- #
-
- #
- # Allow verification/trace to be turned on and off.
- #
- case $ORACLE_TRACE in
- T) set -x ;;
- esac
-
- #
- # Determine how to suppress newline with echo command.
- #
- if echo "\c" | grep c >/dev/null 2>&1; then
- N='-n'
- else
- C='\c'
- fi
- export N C
-
- case $ORACLE_HOME in
- "") echo "ORACLE_HOME not set."
- echo "Set and export ORACLE_HOME, then restart installation."
- exit 1 ;;
- esac
-
- case $INSTALL_HOME in
- "") INSTALL_HOME="$ORACLE_HOME/install"
- export INSTALL_HOME ;;
- esac
-
- case $SYSTEM_PASS in
- "") echo ""
- echo $N "Enter current SYSTEM account password: $C"
- DEFLT="manager"
- . $INSTALL_HOME/read.sh; SYSTEM_PASS=$RDVAR
- SYSTEM_PASS="system/${SYSTEM_PASS}"
- export SYSTEM_PASS ;;
- esac
-
- case $ORACLE_SID in
- "") echo ""
- echo $N "Enter string for ORACLE system identifier: $C"
- DEFLT="oracle" . $INSTALL_HOME/read.sh; ORACLE_SID=$RDVAR
- export ORACLE_SID ;;
- esac
-
- SCRIPT=`grep :$product: $ORACLE_HOME/install/oracle.key| awk -F: '{print $4}'`
- script=`basename $SCRIPT`
-
- OUTPUT=$ORACLE_HOME/$product/install/${script}_ver.out
- chmod 644 $OUTPUT >/dev/null 2>&1
- cd $ORACLE_HOME/$product/install
-
- echo "
- " > $OUTPUT
- echo "Verifying $MKTG_NAME
- Output recorded in $ORACLE_HOME/$product/install/${script}_ver.out
- This may take a few minutes.
- "
- echo $N "Working .$C" #Wait message
- echo "#Verifying $MKTG_NAME ...
-
- " >> $OUTPUT
-
- echo " #########################################
- " >> $OUTPUT
-