summaryrefslogtreecommitdiff
path: root/.ci/install.sh
blob: 26f7309fab28f22fa651a4b28d39c4355f8a099d (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 $*"
./.ci/retry.sh apt-get -y -qq install $* || exit 1