summaryrefslogtreecommitdiffstats
path: root/.pbuilder/hooks/trisquel/D10trisquel
diff options
context:
space:
mode:
Diffstat (limited to '.pbuilder/hooks/trisquel/D10trisquel')
-rwxr-xr-x.pbuilder/hooks/trisquel/D10trisquel12
1 files changed, 12 insertions, 0 deletions
diff --git a/.pbuilder/hooks/trisquel/D10trisquel b/.pbuilder/hooks/trisquel/D10trisquel
new file mode 100755
index 0000000..28e4511
--- /dev/null
+++ b/.pbuilder/hooks/trisquel/D10trisquel
@@ -0,0 +1,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