add -y to all apt-get install commands.

This commit is contained in:
Ivan Malison 2014-10-10 16:06:01 -07:00
parent 85aa879620
commit 78ba077792

View File

@ -7,11 +7,13 @@ function fedora() {
function debian() { function debian() {
local INSTALL_COMMAND='sudo apt-get -y install'
hash apt-get &>/dev/null || (echo 'apt-get is missing.' && exit) hash apt-get &>/dev/null || (echo 'apt-get is missing.' && exit)
sudo apt-get -y install build-essential $INSTALL_COMMAND build-essential
sudo apt-get -y install git $INSTALL_COMMAND git
sudo apt-get -y install python $INSTALL_COMMAND python
sudo apt-get install python-pip $INSTALL_COMMAND python-dev-all
$INSTALL_COMMAND python-pip
} }
function brew_for_multiple_users() { function brew_for_multiple_users() {