From 78ba0777928972c08a2a1edc4cb8f8981c33dc6e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 10 Oct 2014 16:06:01 -0700 Subject: [PATCH] add -y to all apt-get install commands. --- start.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/start.sh b/start.sh index 33e58ebd..17ca2d3e 100644 --- a/start.sh +++ b/start.sh @@ -7,11 +7,13 @@ function fedora() { function debian() { + local INSTALL_COMMAND='sudo apt-get -y install' hash apt-get &>/dev/null || (echo 'apt-get is missing.' && exit) - sudo apt-get -y install build-essential - sudo apt-get -y install git - sudo apt-get -y install python - sudo apt-get install python-pip + $INSTALL_COMMAND build-essential + $INSTALL_COMMAND git + $INSTALL_COMMAND python + $INSTALL_COMMAND python-dev-all + $INSTALL_COMMAND python-pip } function brew_for_multiple_users() {