From: Hans-Christoph Steiner Date: Fri, 22 Jan 2016 14:30:34 +0000 (+0100) Subject: make all apt repos in build server use the configured debian mirror X-Git-Tag: 0.6.0~25^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=980339d2f5c2677523c0a01ab89d5f17ee59c395;p=fdroidserver.git make all apt repos in build server use the configured debian mirror --- diff --git a/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb b/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb index ce46c6b6..e70de6fe 100644 --- a/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb +++ b/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb @@ -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