From 3e27d06bfadfa1364a45f3bd2aca405d633fbde2 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Mon, 20 Jun 2016 19:54:37 +0300
Subject: Add another one apt-get update if apt-get install failed many times
 in ci.

---
 tools/ci/scripts/init.sh | 1 +
 1 file changed, 1 insertion(+)

(limited to 'tools')

diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh
index b64fa7fb1..6bd9eb50c 100755
--- a/tools/ci/scripts/init.sh
+++ b/tools/ci/scripts/init.sh
@@ -66,6 +66,7 @@ function aptget_install {
                 apt-get -y -qq install $*
                 if [ "$?" != 0 ]; then
                     sleep 10s
+                    aptget_update
                     apt-get -y -qq install $*
                     if [ "$?" != 0 ]; then
                         sleep 15s
-- 
cgit v1.2.3-70-g09d2