From 8428746aa4149eba8dccc8c5e6f59f769e0bab10 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 9 Aug 2011 10:15:58 -0300 Subject: Non-interactive package installation --- lib/hydra/misc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 } -- cgit v1.2.3