1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

If we're using a jessie buildserver, we need backports (for java 8)

This commit is contained in:
Ciaran Gultnieks 2015-11-05 10:51:54 +00:00
parent a4d1fa22f7
commit d9d11ba11b

View File

@ -6,6 +6,11 @@ execute 'set_debian_mirror' do
command "sed -i 's,http://ftp.uk.debian.org/debian/,#{debian_mirror},g' /etc/apt/sources.list"
end
execute "jessie_backports" do
command "echo 'deb http://http.debian.net/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list"
only_if "grep jessie /etc/apt/sources.list"
end
execute "apt-get-update" do
command "apt-get update"
end