Merge branch 'flip_security_source' into 'master'

Flip security source

Implement bug #8334

the diff in the redmine issue has two checks for codenames, but I'm wondering if they're adding anything to the "releases" check.

See merge request !1
This commit is contained in:
Micah 2014-12-06 15:47:59 +00:00
commit 93858f31f0

View file

@ -10,13 +10,13 @@ deb-src <%= debian_url %> <%= codename %> <%= lrepos %>
<% end -%>
# security
<% if ((release=scope.lookupvar('apt::release')) == "unstable" || release == "experimental") -%>
# There is no security support for <%= release %>
<% else -%>
<% if ((release=scope.lookupvar('apt::release')) == "stable" || release == "oldstable") -%>
deb <%= security_url=scope.lookupvar('apt::security_url') %> <%= codename %>/updates <%= lrepos %>
<% if include_src -%>
deb-src <%= security_url %> <%= codename %>/updates <%= lrepos %>
<% end -%>
<% else -%>
# There is no security support for <%= release %>
<% end -%>
# backports