This is a working version of the Amahi install script with a check for Ubuntu 12.04 at the beginning of the script.