set APT_GET_OPTIONS for all scripts

This commit is contained in:
Hans-Christoph Steiner 2018-06-14 23:15:14 +02:00
parent 61a5b0173f
commit 2e4fcac191
2 changed files with 1 additions and 5 deletions

View File

@ -4,3 +4,4 @@ if [ -z "$CI" ]; then
exit 1 exit 1
fi fi
apt_get="apt-get -qy $APT_GET_OPTIONS"

View File

@ -16,11 +16,6 @@ if [[ ! -f $lockfile ]] ; then
gitlab-ci-enable-sid gitlab-ci-enable-sid
gitlab-ci-enable-experimental gitlab-ci-enable-experimental
apt_get="apt-get -qy"
if [ ! -z "$APT_GET_OPTIONS" ]; then
apt_get="$apt_get $APT_GET_OPTIONS"
fi
if [ ! -z "$EXTRA_APT_SOURCE" ]; then if [ ! -z "$EXTRA_APT_SOURCE" ]; then
printf "\n$EXTRA_APT_SOURCE\n" >> /etc/apt/sources.list printf "\n$EXTRA_APT_SOURCE\n" >> /etc/apt/sources.list
fi fi