summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-19 19:45:20 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-19 19:45:20 +0300
commit1d8bae2d9c13453b86eb1caefe7df580358296fc (patch)
treea3e26d35d577685bbf75e2aa438c9ec385546284
parentd6295cbcbdaa8b3f1f975601c31fe1e6a7df9e20 (diff)
downloadevol-hercules-1d8bae2d9c13453b86eb1caefe7df580358296fc.tar.gz
evol-hercules-1d8bae2d9c13453b86eb1caefe7df580358296fc.tar.bz2
evol-hercules-1d8bae2d9c13453b86eb1caefe7df580358296fc.tar.xz
evol-hercules-1d8bae2d9c13453b86eb1caefe7df580358296fc.zip
citestcitest
-rwxr-xr-xtools/ci/scripts/init.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh
index 73c7aba..a5b352f 100755
--- a/tools/ci/scripts/init.sh
+++ b/tools/ci/scripts/init.sh
@@ -57,18 +57,23 @@ function aptget_install {
then
return
fi
- echo "apt-get -y -qq install $*"
- apt-get -y -qq install $*
+ echo "apt-get -y -qq install aptitude"
+ apt-get -y -qq install aptitude
+ echo "aptitude update"
+ aptitude update
+
+ echo "aptitude -y install $*"
+ aptitude -y install $*
if [ "$?" != 0 ]; then
sleep 1s
- apt-get -y -qq install $*
+ aptitude -y install $*
if [ "$?" != 0 ]; then
sleep 2s
if [ "$?" != 0 ]; then
sleep 5s
- apt-get -y -qq install $*
+ aptitude -y install $*
fi
- apt-get -y -qq install $*
+ aptitude -y install $*
fi
fi
}