Incidentally, why did you run the script?
I was trying to burn an .iso via Brasero as a user. It would not show anything writable in either my R/W dvd drive nor when I put the blank DC in my R/W cd drive. I thought it might be user group membership, which it was.
I did my usual user[Tab] to see what came up. when I saw there was a ruby "-fix" script. I remembered the 3 different easy-inst* scripts and, without checking those powerful final lines of the script, ran it.
By the way, Vector Linux also uses /home to locate a valuable (I have to reinstall the distro it now.) ftp (/home/ftp) directory. I always wanted to do some ruby scripts. If I get a chance, I'll try and write the code necessary to insert into nelsongs script that would list the subdirectories about to be deleted and ask for confirmation before proceeding.
Though it is way beyond me, what would really make it an excellent script would be making that list a picklist of the directories that you wanted to keep, i.e., those that you know you DO NOT want to be deleted.