summaryrefslogtreecommitdiffstats
path: root/.pbuilder/hooks/trisquel/D10trisquel
blob: 28e451155f16d575375a91227baa02aef46edb80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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