#!/bin/sh
#
#  This section removes blank lines from
#  $ROOTDIR/var/sadm/pkg/SUNWcsr/install/space.  Although the
#  space file is only used during initial SunOS installation, presence
#  of blank lines interfere with installation of SUNWcsr patches.
#
	Date=`date +%m%d%y%M`
	if test -f $ROOTDIR/var/sadm/pkg/SUNWcsr/install/space
        then
	    cd $ROOTDIR/var/sadm/pkg/SUNWcsr/install
	       if `ls space.* > /dev/null 2>&1 `; then
	       rm space.* 
               fi
            sed '/^$/d' space > space.$Date
	    cp -p space.$Date space
	fi

#  Rev10 of the patch changes kbd default settings.
#  Warn users of the change.

echo " "
echo "	This patch introduces a change in the kbd default settings.  "
echo "	Please merge the existing /etc/default/kbd with the updated "
echo "	version of the default settings shipped with this patch."
echo " "

exit 0
