Added support for backports in apt sources with option apt_backports = "whatever".
This commit is contained in:
parent
24dacaeb8b
commit
487b593ef8
1 changed files with 5 additions and 0 deletions
|
@ -34,8 +34,13 @@ deb-src <%= apt_archive_url %> <%= lsbdistcodename %>-updates multiverse
|
|||
## newer versions of some applications which may provide useful features.
|
||||
## Also, please note that software in backports WILL NOT receive any review
|
||||
## or updates from the Ubuntu security team.
|
||||
<% if has_variable?("apt_backports") -%>
|
||||
deb <%= apt_archive_url %> <%= lsbdistcodename %>-backports main restricted universe multiverse
|
||||
deb-src <%= apt_archive_url %> <%= lsbdistcodename %>-backports main restricted universe multiverse
|
||||
<% else -%>
|
||||
# deb <%= apt_archive_url %> <%= lsbdistcodename %>-backports main restricted universe multiverse
|
||||
# deb-src <%= apt_archive_url %> <%= lsbdistcodename %>-backports main restricted universe multiverse
|
||||
<% end -%>
|
||||
|
||||
## Uncomment the following two lines to add software from Canonical's
|
||||
## 'partner' repository.
|
||||
|
|
Loading…
Add table
Reference in a new issue