#!/bin/sh
#
# $Source$
# $Id$
# $Copyrights$
#

#
# Perform postbackout processing for the VRTSfspro patch.
# This is very clumsy!!! We do registry meddling for search client
# version as well as moving search client and search provider to
# common isis dir in fspro.sh during pkgadd/pkgrm. We do the
# registry meddling for search client version aslo in fspro.sh
# during patchadd and patchrm. But restoring the searchprovider.so
# and the search client jars in the common isis dirs have to be
# done AFTER patch is backed out and that too with the copies of
# them backed up during patchadd. So we can do that only here.
# (Atually with pkg too has such mechanism so we can clean up
# isis dirs on pkgrm)
#

BASEDIR=$ROOTDIR/
OBBASE=$ROOTDIR/opt/VRTSob
FSPROBASE=$BASEDIR/opt/VRTSfspro

cp $FSPROBASE/lib/searchprovider.so $OBBASE/lib/searchprovider.so 2>/dev/null
cp $FSPROBASE/extensions/VxSearchCE.jar $OBBASE/extensions/VxSearch/IsisSkin/java/1033/VxSearchCE.jar 2>/dev/null
cp $FSPROBASE/extensions/SearchResourceBundle.en.jar $OBBASE/extensions/VxSearch/IsisSkin/java/1033/SearchResourceBundle.en.jar 2>/dev/null

exit 0
