#! /bin/sh 
#
#	@(#)prepatch	1.2	97/09/19 (c) Sun Microsystems, Inc.
#
#	2.6_HW3 VIS/XIL Patch prepatch script

#
# Remove the space file for SUNWxilvl as it contains a blank line which
# would cause pkgadd to report erroneous space and inode calculations.
#

spacefile="${ROOTDIR}/var/sadm/pkg/SUNWxilvl/install/space"
sunos_rev=`uname -r`

if [ ${sunos_rev} = "5.6" ]; then
	rm -f ${spacefile}
fi

exit 0
