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