use sudo aptitude install -y ... to confirm without interaction
This commit is contained in:
parent
ff3b0b84d1
commit
eda69914e1
1 changed files with 1 additions and 1 deletions
2
newbox
2
newbox
|
|
@ -7,7 +7,7 @@ fail() {
|
||||||
|
|
||||||
if ! which git >/dev/null 2>&1; then
|
if ! which git >/dev/null 2>&1; then
|
||||||
if which aptitude >/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
|
elif which brew >/dev/null 2>&1; then
|
||||||
brew install git-core
|
brew install git-core
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue