diff --git a/templates/os/sources/stanford.list.erb b/templates/os/sources/stanford.list.erb index 817d7c8d2da0922f81b65a47fa469795c71c0fba..4411d95bdfda92771926af6a584103c45dcb0366 100644 --- a/templates/os/sources/stanford.list.erb +++ b/templates/os/sources/stanford.list.erb @@ -24,9 +24,13 @@ deb-src http://debian.stanford.edu/debian-stanford <%= dist %> main non-free con # The Stanford restricted Debian archive and source tree. deb http://debian.stanford.edu/debian-local <%= dist %> main non-free contrib deb-src http://debian.stanford.edu/debian-local <%= dist %> main non-free contrib -<% if @lsbdistcodename == 'wheezy' || @lsbdistcodename == 'jessie' -%> +<% if @lsbdistcodename == 'wheezy' || @lsbdistcodename == 'jessie' || @operatingsystem == 'Ubuntu' -%> # Additional Stanford-local backports. deb http://debian.stanford.edu/debian-stanford <%= dist %>-backports main non-free contrib deb-src http://debian.stanford.edu/debian-stanford <%= dist %>-backports main non-free contrib <% end -%> +<% if @operatingsystem == 'Ubuntu' -%> +deb http://debian.stanford.edu/debian-stanford <%= lsbdistcodename %>-backports main multiverse restricted universe +deb-src http://debian.stanford.edu/debian-stanford <%= lsbdistcodename %>-backports main multiverse restricted universe +<% end -%>