From caf785b53b8a2fa0161b90bc573aca1ce3d639f2 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 30 Mar 2013 22:54:22 -0700 Subject: [PATCH] Adding -y flag to apt-get calls. --- .debian | 13 +++++++------ setup.sh | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.debian b/.debian index f8f215d7..d294a1ec 100644 --- a/.debian +++ b/.debian @@ -1,12 +1,13 @@ sudo -v -apt-get install zsh -apt-get install tmux -apt-get install emacs -apt-get install nmap -apt-get install readline +INSTALL="apt-get -y install" +$INSTALL zsh +$INSTALL tmux +$INSTALL emacs +$INSTALL nmap +$INSTALL readline # python dependencies -apt-get -y install libreadline5-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev +$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 80240735..88672aac 100755 --- a/setup.sh +++ b/setup.sh @@ -34,7 +34,7 @@ function install_essentials() { echo "apt-get found." sudo apt-get -y install build-essential sudo apt-get -y install git - git clone git@github.com:IvanMalison/dotfiles.git + sudo git clone git@github.com:IvanMalison/dotfiles.git cd dotfiles source .debian ;;