Commit 9fc5cb1e authored by Santiago Rodriguez's avatar Santiago Rodriguez
Browse files

Use $BUILDDIST-updates for packages that need it

parent 78f59e30
#!/bin/bash
# Add branch as repo, to allow chained builds
echo "deb [trusted=yes] http://jenkins.trisquel.info/jenkins-repos/$BUILDBRANCH ./" >> /etc/apt/sources.list
# Some packages are built using packages from $BUILDDIST-updates
if [ x"$BUILDPACKAGE" = xtoxcore ] || $([ x"$BUILDPACKAGE" = xfirefox ] && [ x"$BUILDDIST" = xtoutatis ])
then
echo "deb http://es.archive.trisquel.info/trisquel/ $BUILDDIST-updates main" >> /etc/apt/sources.list
fi
apt-get update
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment