From c1694ae3372352d975d5f49b4c2fd0e12e8e827e Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 10 Dec 2009 11:00:00 +0100 Subject: added $backports_enabled for including backports repository --- templates/sources.list.backports.erb | 8 ++++++++ templates/sources.list.erb | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 templates/sources.list.backports.erb (limited to 'templates') diff --git a/templates/sources.list.backports.erb b/templates/sources.list.backports.erb new file mode 100644 index 0000000..b62f6d3 --- /dev/null +++ b/templates/sources.list.backports.erb @@ -0,0 +1,8 @@ +# This file is brought to you by puppet + +# backports +<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%> +# There are no backports for for <%= lsbdistcodename %> +<% else -%> +deb http://www.backports.org/debian/ <%= lsbdistcodename %>-backports main +<% end -%> diff --git a/templates/sources.list.erb b/templates/sources.list.erb index 169d7b5..feb5603 100644 --- a/templates/sources.list.erb +++ b/templates/sources.list.erb @@ -9,9 +9,3 @@ deb http://ftp.debian.org/debian/ <%= lsbdistcodename %> main contrib non-free deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-free <% end -%> -# backports -<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%> -# There are no backports for for <%= lsbdistcodename %> -<% else -%> -deb http://www.backports.org/debian/ <%= lsbdistcodename %>-backports main -<% end -%> -- cgit v1.2.3 From 356ff9334078198fde39fe5c8e8212109d6537a0 Mon Sep 17 00:00:00 2001 From: Matt Taggart Date: Wed, 8 Sep 2010 15:39:33 -0700 Subject: backports.org has merged with the normal debian archive, the apt source changed and we don't need a separate apt-key for it now --- templates/sources.list.backports.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/sources.list.backports.erb b/templates/sources.list.backports.erb index b62f6d3..b271ca7 100644 --- a/templates/sources.list.backports.erb +++ b/templates/sources.list.backports.erb @@ -4,5 +4,5 @@ <% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%> # There are no backports for for <%= lsbdistcodename %> <% else -%> -deb http://www.backports.org/debian/ <%= lsbdistcodename %>-backports main +deb http://backports.debian.org/debian-backports/ <%= lsbdistcodename %>-backports main <% end -%> -- cgit v1.2.3