use only apt for installation except for natty and maverick
syntax fix
fix
use bash
fixed line breaks