Blame | Last modification | View Log | RSS feed
#set -x# This script deletes the used backout data for a patch package# and removes the deletes file entries.## directory format options.## @(#)patch_postinstall 1.3 98/07/29 SMI## Copyright (c) 1995 by Sun Microsystems, Inc.# All rights reserved#PATH=/usr/sadm/bin:$PATHTHIS_DIR=`dirname $0`Our_Deletes=$THIS_DIR/deletes## Delete the used backout data#if [ -f $Our_Deletes ]; thencat $Our_Deletes | while read path; doif valpath -l $path; thenClient_Path=`echo "$CLIENT_BASEDIR/$path" | sed "s|//|/|"`else # It's an absolute pathClient_Path=$pathfirm `removef $PKGINST $Client_Path`doneremovef -f $PKGINSTrm $Our_Deletesfi## Remove the deletes file, checkinstall and the postinstall#rm -r $PKGSAV/$ACTIVE_PATCHrm -f $THIS_DIR/checkinstall $THIS_DIR/postinstallexit 0