also control backports on ubuntu
This commit is contained in:
parent
dbee5c9487
commit
3da1db2707
1 changed files with 4 additions and 2 deletions
|
@ -19,8 +19,10 @@ deb <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>
|
|||
deb-src <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>
|
||||
<% end -%>
|
||||
|
||||
<% if use_backports=scope.lookupvar('apt::use_backports') -%>
|
||||
# backports
|
||||
deb <%= ubuntu_url %> <%= codename %>-backports <%= lrepos %>
|
||||
<% if include_src -%>
|
||||
<% if include_src -%>
|
||||
deb-src <%= ubuntu_url %> <%= codename %>-backports <%= lrepos %>
|
||||
<% end -%>
|
||||
<% end
|
||||
end -%>
|
||||
|
|
Loading…
Reference in a new issue