#!/bin/sh # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Definitions for override safety mechanism PATCH_OVERRIDE_LIB="${ROOTDIR}/usr/lib/patch/patch_override_lib" # script in a fucntion so that it can be overridden if needed. postpatch() { : } # load the override lib if it exists if [ -f "${PATCH_OVERRIDE_LIB}" -a -r "${PATCH_OVERRIDE_LIB}" ] ; then . "${PATCH_OVERRIDE_LIB}" fi # execute the script function postpatch "$@" exit 0