summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-06 23:31:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-05-06 23:31:06 -0300
commita25db77cf7e4255c0a9f5b95a57fbcc36b2e6f67 (patch)
tree7bbaf59261b85bf7893bf94caa5132411033a078
parent9c566a47aecfadb06c978fb44896dbc55b96cb5d (diff)
downloadhydra-a25db77cf7e4255c0a9f5b95a57fbcc36b2e6f67.tar.gz
hydra-a25db77cf7e4255c0a9f5b95a57fbcc36b2e6f67.tar.bz2
Apt-get with -y
-rw-r--r--lib/hydra/misc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc
index 6f74f8a..62fd7f5 100644
--- a/lib/hydra/misc
+++ b/lib/hydra/misc
@@ -34,6 +34,6 @@ function hydra_install_package {
dpkg -l $1 &> /dev/null
if [ "$?" == "1" ]; then
- apt-get install $1
+ apt-get install $1 -y
fi
}