Added some packages that rrd was not installing without
changed "bash" to "bash -e" so that script exits on errors rather than continuing
changes to arch and os detection for 12.04.2