From 5e7a3cfd935260261441082309a6107664bf86e6 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 30 Mar 2013 22:52:40 -0700 Subject: [PATCH] Adding -y flag. --- .debian | 13 +++++++------ setup.sh | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.debian b/.debian index 31111b0d..f8f215d7 100644 --- a/.debian +++ b/.debian @@ -1,11 +1,12 @@ -apt-get zsh -apt-get tmux -apt-get emacs -apt-get nmap -apt-get readline +sudo -v +apt-get install zsh +apt-get install tmux +apt-get install emacs +apt-get install nmap +apt-get install readline # python dependencies -apt-get install libreadline5-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev +apt-get -y install libreadline5-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev cd ~/Downloads wget http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz tar -xvf Python-2.7.2.tgz && cd Python-2.7.2/ diff --git a/setup.sh b/setup.sh index 0d7e703e..80240735 100755 --- a/setup.sh +++ b/setup.sh @@ -32,9 +32,9 @@ function install_essentials() { echo "Linux detected." hash apt-get &>/dev/null || (echo 'apt-get is missing.' && exit) echo "apt-get found." - sudo apt-get install build-essential - sudo apt-get install git - sudo git clone git@github.com:IvanMalison/dotfiles.git + sudo apt-get -y install build-essential + sudo apt-get -y install git + git clone git@github.com:IvanMalison/dotfiles.git cd dotfiles source .debian ;;