aboutsummaryrefslogtreecommitdiff
path: root/templates/sources.list.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sources.list.erb')
-rw-r--r--templates/sources.list.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/sources.list.erb b/templates/sources.list.erb
index 1e40b62..bcd4fd2 100644
--- a/templates/sources.list.erb
+++ b/templates/sources.list.erb
@@ -13,3 +13,10 @@ deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-
# additional packages, see preferences
#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 -%>