Combine apt-get install 'required packages'

This script will always depend on the oracle-java.sh script.
Instead of waiting for two 'apt-get update' and 'apt-get install''s
It does a sed/replace to combine them.