#       "@(#)r.OWconfig	1.1 02/09/18   Sun Microsystems"
#
# Removal script for the OWconfig class
# Remove any entries that belong to this package
#
while read dst
do
    # if the file doesn't exist there is nothing to do
    if [ -f $dst ]
    then
	sed -e "/# Start SUNWxwxst/,/# End SUNWxwxst/d" $dst > \
	/tmp/$$OWconfig || exit 2
	if [ -s /tmp/$$OWconfig ]
	then
	    mv /tmp/$$OWconfig $dst || exit 2
	else
	    rm $dst || exit 2
	fi
    fi
done
exit 0
