for i in *.rpm
do
	if [ -f ../../../RPMS/$i ] ; then
		echo "Already have $i in RPMS, so deleting it."
		rm $i
		continue
	fi
	if [ -f ../../../Updates/$i ] ; then
		echo "Already have $i in Updates, 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
	if [ -f /mnt/src/scientific/40rolling/i386/errata/obsolete/RPMS/$i ] ; then
		echo "Already have $i in obsolete/RPMS, so deleting it."
		rm $i
		continue
	fi
	if [ -f /mnt/src/scientific/40rolling/i386/errata/debuginfo/RPMS/$i ] ; then
		echo "Already have $i in debuginfo/RPMS, so deleting it."
		rm $i
		continue
	fi
	if [ -f ./hold.errata/$i ] ; then
		echo "Already have $i in ./hold.errata/ , so deleting it."
		rm $i
		continue
	fi
	echo ""
done
