diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-08-09 10:15:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-08-09 10:15:58 -0300 |
commit | 8428746aa4149eba8dccc8c5e6f59f769e0bab10 (patch) | |
tree | 0204deaf6f72882fa38b9cd7ed7d3069a3bef47f /lib | |
parent | 1f06e5aa9a8ec7cca62b4b89bd22d04aca147220 (diff) | |
download | hydra-8428746aa4149eba8dccc8c5e6f59f769e0bab10.tar.gz hydra-8428746aa4149eba8dccc8c5e6f59f769e0bab10.tar.bz2 |
Non-interactive package installation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/misc | 2 |
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 } |