support adding an extra apt source from the build job
This commit is contained in:
parent
3fa250a25b
commit
400da12f90
|
|
@ -16,6 +16,10 @@ if [[ ! -f $lockfile ]] ; 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
|
||||
|
||||
if [ ! -z "$DEBIAN_RELEASE" ]; then
|
||||
sed -i "s, testing , $DEBIAN_RELEASE ," /etc/apt/sources.list
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue