#!/usr/bin/ksh -p
#
# This prePatch script is involked by patchadd before the command install
# the context of this patch. The packages, SUNWsshu and SUNWsshdu now
# require SUNWfns, and this script prevents Bugid 6410762.
# PLEASE DO NOT MANUALLY EDIT THIS SCRIPT.

ROOTDIR=$1
pkgname=SUNWfns

if ! pkginfo -q -R $ROOTDIR $pkgname
then
        print "The required package, $pkgname has not been installed, please install $pkgname and run patchadd again.";
        exit 15;
fi

# exit normally and continue process
exit 0
