From 369a28d911d15fb6c692d78eb6ae013d710ff3df Mon Sep 17 00:00:00 2001 From: Michael Prokop <mprokop@sipwise.com> Date: Thu, 18 Aug 2011 17:46:36 +0000 Subject: [PATCH] deployment.sh: invoke spce ngcp-installer with expected "y" in pipe. From: Michael Prokop <mprokop@sipwise.com> --- deployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index f302279..70cb793 100755 --- a/deployment.sh +++ b/deployment.sh @@ -668,7 +668,7 @@ EOT PKG=ngcp-installer-latest.deb wget http://deb.sipwise.com/spce/\$PKG dpkg -i \$PKG -echo yes | ngcp-installer 2>&1 | tee -a /tmp/ngcp-installer-debug.log +echo y | ngcp-installer 2>&1 | tee -a /tmp/ngcp-installer-debug.log RC=\${PIPESTATUS[1]} if [ \$RC -ne 0 ] ; then echo "Fatal error while running ngcp-installer:" >&2