diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/sources.list.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/sources.list.erb b/templates/sources.list.erb index f24e84f..ae8fc8e 100644 --- a/templates/sources.list.erb +++ b/templates/sources.list.erb @@ -3,7 +3,11 @@ # basic <%= lsbdistcodename %> deb http://ftp.at.debian.org/debian <%= lsbdistcodename %> main contrib non-free # security suppport +<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable" -%> +# There is no security mirror for <%= lsbdistcodename %> +<% else %> deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-free +<% end -%> # local packages #deb http://puppetmaster:81/ / @@ -11,4 +15,8 @@ deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non- #deb http://ftp.at.debian.org/debian sid main # backports +<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable" -%> +# There are no backports for for <%= lsbdistcodename %> +<% else %> deb http://www.backports.org/debian/ <%= lsbdistcodename %>-backports main +<% end -%>
\ No newline at end of file |