chiark / gitweb /
make all apt repos in build server use the configured debian mirror
authorHans-Christoph Steiner <hans@eds.org>
Fri, 22 Jan 2016 14:30:34 +0000 (15:30 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 26 Jan 2016 10:31:40 +0000 (11:31 +0100)
buildserver/cookbooks/fdroidbuild-general/recipes/default.rb

index ce46c6b6da1d937e2a6fddf0b9373c3c9bfda2b1..e70de6fe0318faf523b6571e1958fd789657b906 100644 (file)
@@ -7,7 +7,7 @@ execute 'set_debian_mirror' do
 end
 
 execute "jessie_backports" do
-  command "echo 'deb http://http.debian.net/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list"
+  command "echo 'deb #{debian_mirror} jessie-backports main' > /etc/apt/sources.list.d/backports.list"
   only_if "grep jessie /etc/apt/sources.list"
 end