summaryrefslogtreecommitdiff
path: root/.ci/install.sh
blob: d09c953a1ff1fdeb7750a07ad76ece4799c35b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if [ "$RUNFROMSHELL" != "" ];
then
    echo "Running from shell. Skipping apt-get install"
    return
fi

echo "apt-get update"
./.ci/retry.sh apt-get update || exit 1
echo "apt-get -y -qq install git-core bash"
./.ci/retry.sh apt-get -y -qq install $* || exit 1