#! /bin/sh 

# Since patch  103356-01 does not include SUNWisdnk; hence
# its subsequent patch will not get installed.  The workaround
# is to remove the "PATCH=1" string from /var/sadm/pkg/SUNWisdnk/pkginfo
# file.

isdnk_pkginfo="/var/sadm/pkg/SUNWisdnk/pkginfo"

if [ -w ${isdnk_pkginfo} ]; then
 	# It's editable
	cp $isdnk_pkginfo /tmp/pkginfo 
	sed  's/,PATCH=1//' /tmp/pkginfo > ${isdnk_pkginfo}
	rm -f /tmp/pkginfo
fi
exit 0
