[omd-commits] OMD Git: omd: tests: fixed noninteractive installation of debian packages

git version control git at mathias-kettner.de
Sun Dec 19 14:50:35 CET 2010


Module: omd
Branch: master
Commit: d1807f999cbbd834f697029dad709cf04b3be728
URL:    http://omdistro.org/projects/omd/repository/revisions/d1807f999cbbd834f697029dad709cf04b3be728

Author: Sven Nierlein <sven at nierlein.de>
Date:   Sun Dec 19 11:23:24 2010 +0100

tests: fixed noninteractive installation of debian packages

---

 t/test_all.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/test_all.sh b/t/test_all.sh
index c4f225d..ba4405c 100755
--- a/t/test_all.sh
+++ b/t/test_all.sh
@@ -17,7 +17,7 @@ if [ ! -z $OMD_PACKAGE ]; then
 
     # Debian / Ubuntu
     if [ -x /usr/bin/apt-get  ]; then
-        apt-get -y install `dpkg-deb --info $OMD_PACKAGE | grep Depends: | sed -e 's/Depends://' -e 's/debconf.*debconf-2.0,//' | tr -d ','`
+        DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install `dpkg-deb --info $OMD_PACKAGE | grep Depends: | sed -e 's/Depends://' -e 's/debconf.*debconf-2.0,//' | tr -d ','`
         dpkg -i $OMD_PACKAGE
 
     # Centos



More information about the omd-commits mailing list