use sudo aptitude install -y ... to confirm without interaction

This commit is contained in:
Sami Samhuri 2010-08-11 11:33:40 -07:00
parent ff3b0b84d1
commit eda69914e1

2
newbox
View file

@ -7,7 +7,7 @@ fail() {
if ! which git >/dev/null 2>&1; then
if which aptitude >/dev/null 2>&1; then
sudo aptitude install git-core
sudo aptitude install -y git-core
elif which brew >/dev/null 2>&1; then
brew install git-core
else