summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-20 19:54:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-20 19:54:37 +0300
commit3e27d06bfadfa1364a45f3bd2aca405d633fbde2 (patch)
tree640733720926d52781c5b61a708be60a6b3f5961
parent0cf09f63f5c626738f2dfdec82da876723b0db89 (diff)
downloadplus-3e27d06bfadfa1364a45f3bd2aca405d633fbde2.tar.gz
plus-3e27d06bfadfa1364a45f3bd2aca405d633fbde2.tar.bz2
plus-3e27d06bfadfa1364a45f3bd2aca405d633fbde2.tar.xz
plus-3e27d06bfadfa1364a45f3bd2aca405d633fbde2.zip
Add another one apt-get update if apt-get install failed many times in ci.
-rwxr-xr-xtools/ci/scripts/init.sh1
1 files changed, 1 insertions, 0 deletions
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