Adding -y flag.

This commit is contained in:
Ivan Malison 2013-03-30 22:52:40 -07:00
parent 36564fcfe3
commit 5e7a3cfd93
2 changed files with 10 additions and 9 deletions

13
.debian
View File

@ -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/

View File

@ -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
;;