summaryrefslogblamecommitdiff
path: root/.ci/install.sh
blob: ca2637566770f57e054d662f925feec2de26f62c (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                       
                                       






                                                    
#!/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 aptitude"
./.ci/retry.sh apt-get -y install aptitude || exit 1

echo "aptitude update"
./.ci/retry.sh aptitude update || exit 1
echo "aptitude -y install $*"
./.ci/retry.sh aptitude -y install $* || exit 1