#!/bin/sh
# ******************************************************************************
# ***                           IDENTIFICATION                              ***
# ******************************************************************************
# Name:         postpatch
# Title:        108834 postpatch script
# Version:
# Revision:     $Revision:$
# Update Date:  $Date: $
# Programmer:   bem
# Documents:
#
# COPYRIGHT 1996, 1997, 1998, 1999, 2000 by LSI Logic Inc.
#
# Description: 	Post patch installation script 
#
#

# modify company name in messages.txt
/usr/bin/sed -e  "s/142 Reconstruction failed because a read error occurred on a drive other than the replaced drive./142 The drive may still be usable, but an error occurred while reading from it to reconstruct data for a different drive./"  <$ROOTDIR/lib/osa/help/messages.txt >$ROOTDIR/lib/osa/help/messages.txt.new
mv $ROOTDIR/lib/osa/help/messages.txt.new $ROOTDIR/lib/osa/help/messages.txt
/usr/bin/chgrp bin $ROOTDIR/lib/osa/help/messages.txt
/usr/bin/chown bin $ROOTDIR/lib/osa/help/messages.txt
/usr/bin/chmod 644 $ROOTDIR/lib/osa/help/messages.txt

# generate the new catalog file
/usr/bin/gencat $ROOTDIR/lib/osa/messages.cat $ROOTDIR/lib/osa/help/messages.txt 2> /dev/null

exit 0

