I am working on an Amazon Elastic Map Reduce service and I want to download the latest version of R on each node. Each node is a fairly simple installation of Debian Lenny. I wrote a simple script shell that seems to do the job, but I'm curious if there are any better ways or other things that I should consider in the script below:
#!/bin/bash
source share