echo `date` >> errata.log
echo `date` >> new.log
echo `date` >> i386.log
mv *debuginfo*.rpm ../../debuginfo/RPMS/
rm *src.rpm
for i in *.rpm
do
	if [ -f ../../../SL/RPMS/$i ] ; then
		echo "Already have $i in SL/RPMS, so deleting it."
		rm $i
		continue
	fi
	if [ -f ../../obsolete/RPMS/$i ] ; then
		echo "Already have $i in obsolete/RPMS, so deleting it."
		rm $i
		continue
	fi
	echo ""
	echo "Next rpm is -->  $i "
	echo "Is it ok,  if so then enter search string, otherwise press return"
	read stuff
	if [ -z $stuff ] ;  then
		continue 
        else
		sh  movethemin.sh "${stuff}*" 	$i
	fi
done
