flip around security support for debian
with the release of squeeze-lts, the current way we deal with security sources is problemaic. by flipping things around we hope to make the files contents more stable.
This commit is contained in:
parent
5a8d214529
commit
671610fab5
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue