4 echo " Running the oracle silent install ./runInstaller -silent -ignoreSysPrereqs -responseFile <%= responsefile_patchset_path %> FROM_LOCATION="<%= products_patchset_path
%>" ORACLE_HOME=\"<%= current_oracle_home %>\" ORACLE_HOME_NAME=\"<%= oracle_patch_version %>\" UNIX_GROUP_NAME=\"oinstall\" "
6 cd <%= disk1_9208_patchset_path
%>
8 .
/runInstaller
-silent -ignoreSysPrereqs -responseFile <%= responsefile_patchset_path
%> FROM_LOCATION
="<%= products_patchset_path %>" ORACLE_HOME
="<%= current_oracle_home %>" ORACLE_HOME_NAME
="<%= oracle_patch_version %>" UNIX_GROUP_NAME
="oinstall"
10 orainventory_path
=<%= orainventory_path
%>
11 oracle_install_log
=`ls -lrt ${orainventory_path}/logs |grep oraInstall | grep out | tail -1 | awk '{print $9}'`
12 oracle_install_log_path
="${orainventory_path}/logs/${oracle_install_log}"
19 grep 'was successful' $file
20 if [ $?
-eq 1 ]; then return 0; fi
29 len
=$
(echo -n $string |
wc -c)
32 rev=$rev$
(echo $string | cut
-c $len)
42 ANIM_L
="$(reverse $ANIM)"
47 echo "Parsing log: ${oracle_install_log_path} for successful install message..."
48 while test_pad
$oracle_install_log_path; do
49 if [ $re -eq 1 ]; then L
=$ANIM_L; else L
=$ANIM; fi
50 if [ $re -eq 1 ]; then p
=$
(( $PAD_LN - $u )); else p
=$u; fi
51 echo -ne "${PAD:0:$p} ${L:$l:1} ${PAD:$p:$PAD_LN} \r"
52 if [ $u -eq $PAD_LN ]; then u
=0; if [ $re -eq 1 ]; then re
=0; else re
=1; fi; fi
53 u
=$
(( u
+ 1 )); l
=$
(( l
+ 1 ))
54 if [ $l -eq $ANIM_LN ]; then l
=0; fi
57 touch /var
/opt
/oracle
/9.2.0.8_patchset_installed
58 echo "The installation of Oracle9i patchset 9.2.0.8 Database was successful."