aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-09 10:15:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-09 10:15:58 -0300
commit8428746aa4149eba8dccc8c5e6f59f769e0bab10 (patch)
tree0204deaf6f72882fa38b9cd7ed7d3069a3bef47f
parent1f06e5aa9a8ec7cca62b4b89bd22d04aca147220 (diff)
downloadhydra-8428746aa4149eba8dccc8c5e6f59f769e0bab10.tar.gz
hydra-8428746aa4149eba8dccc8c5e6f59f769e0bab10.tar.bz2
Non-interactive package installation
-rw-r--r--lib/hydra/misc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc
index ebe0bc9..f0bf210 100644
--- a/lib/hydra/misc
+++ b/lib/hydra/misc
@@ -34,6 +34,6 @@ function hydra_install_package {
dpkg -s $1 &> /dev/null
if [ "$?" == "1" ]; then
- apt-get install $1 -y
+ DEBIAN_FRONTEND=noninteractive apt-get install $1 -y
fi
}