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 sudo -v
apt-get tmux apt-get install zsh
apt-get emacs apt-get install tmux
apt-get nmap apt-get install emacs
apt-get readline apt-get install nmap
apt-get install readline
# python dependencies # 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 cd ~/Downloads
wget http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz 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/ tar -xvf Python-2.7.2.tgz && cd Python-2.7.2/

View File

@ -32,9 +32,9 @@ function install_essentials() {
echo "Linux detected." echo "Linux detected."
hash apt-get &>/dev/null || (echo 'apt-get is missing.' && exit) hash apt-get &>/dev/null || (echo 'apt-get is missing.' && exit)
echo "apt-get found." echo "apt-get found."
sudo apt-get install build-essential sudo apt-get -y install build-essential
sudo apt-get install git sudo apt-get -y install git
sudo git clone git@github.com:IvanMalison/dotfiles.git git clone git@github.com:IvanMalison/dotfiles.git
cd dotfiles cd dotfiles
source .debian source .debian
;; ;;