easy_install -m $1
for i in `find /usr/lib/python2.5/site-packages/ -name "$1*"`
do
echo "Removing: $i"
rm -rf $i
done
Assuming he is using Bash, he forgot some necessary double quotes around $i in the rm, so yes Zed, apparently it was "so damn hard" that you couldn't get it right.