set APT_GET_OPTIONS for all scripts
This commit is contained in:
parent
61a5b0173f
commit
2e4fcac191
|
|
@ -4,3 +4,4 @@ if [ -z "$CI" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
apt_get="apt-get -qy $APT_GET_OPTIONS"
|
||||
|
|
|
|||
|
|
@ -16,11 +16,6 @@ if [[ ! -f $lockfile ]] ; then
|
|||
gitlab-ci-enable-sid
|
||||
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
|
||||
printf "\n$EXTRA_APT_SOURCE\n" >> /etc/apt/sources.list
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue