summaryrefslogtreecommitdiffstats
path: root/.pbuilder/hooks/trisquel/D10trisquel
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-06-21 18:47:06 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-06-21 18:47:06 (EDT)
commit5065653d21be9cdec7d8a4a89d72cccb0501d301 (patch)
tree3e42fd72ac6a2f3389076fb6e74b7df89136799a /.pbuilder/hooks/trisquel/D10trisquel
parent3d7b40c47aca35cc42ccc15e0c2f8e1033f5ce50 (diff)
downloadtrisquel-5065653d21be9cdec7d8a4a89d72cccb0501d301.zip
trisquel-5065653d21be9cdec7d8a4a89d72cccb0501d301.tar.gz
trisquel-5065653d21be9cdec7d8a4a89d72cccb0501d301.tar.bz2
.pbuilder/hooks/trisquel/[A-Z][0-9][0-9]trisquel: New pbuilder hooks
Downloaded/created with: for h in D10trisquel G10trisquel; do wget -O ".pbuilder/hooks/trisquel/${h}" "https://devel.trisquel.info/trisquel/trisquel-builder/raw/master/hooks/${h}" done ln -sf G10trisquel .pbuilder/hooks/trisquel/E10trisquel chmod a+x .pbuilder/hooks/trisquel/[A-Z][0-9][0-9]trisquel
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