#!/bin/sh
OH=`echo $ORACLE_HOME`
if [ $1 = "-rollback" ]
then
        if [ -d $OH/cpu/CPUApr2006 ]
        then
        mv $OH/cpu/CPUApr2006 $OH/cpu/CPUApr2006_rollback
        fi
else
        if [ -d $OH/cpu/CPUApr2006 ]
        then
        rm -rf $OH/cpu/CPUApr2006
        fi
fi

if [ ! -f $OH/bin/genoccish ]
then
        touch $OH/bin/genoccish
        chmod u+x $OH/bin/genoccish
fi
