summaryrefslogtreecommitdiff
path: root/tools/ci
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 /tools/ci
parent0cf09f63f5c626738f2dfdec82da876723b0db89 (diff)
downloadmanaverse-3e27d06bfadfa1364a45f3bd2aca405d633fbde2.tar.gz
manaverse-3e27d06bfadfa1364a45f3bd2aca405d633fbde2.tar.bz2
manaverse-3e27d06bfadfa1364a45f3bd2aca405d633fbde2.tar.xz
manaverse-3e27d06bfadfa1364a45f3bd2aca405d633fbde2.zip
Add another one apt-get update if apt-get install failed many times in ci.
Diffstat (limited to 'tools/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