diff options
author | intrigeri <intrigeri@boum.org> | 2010-10-10 12:32:23 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-10 12:35:05 +0200 |
commit | 1cea889f8c228d9c266c8b66717eb53e553bf527 (patch) | |
tree | 3f5a8dfb0100d223827ed65386d5183e75c3e177 | |
parent | b4e24ecc0699687adec30bd38d78b34423eda1a1 (diff) |
Trim empty lines in template.
-rw-r--r-- | templates/sources.list.erb | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/templates/sources.list.erb b/templates/sources.list.erb index 31a8c0e..cef6f91 100644 --- a/templates/sources.list.erb +++ b/templates/sources.list.erb @@ -4,29 +4,29 @@ # basic deb <%= debian_url %> <%= codename %> <%= repos %> -<% if include_src then %> +<% if include_src then -%> deb-src <%= debian_url %> <%= codename %> <%= repos %> -<% end %> +<% end -%> # security <% if (release == "unstable" || release == "experimental") %> # There is no security support for <%= release %> <% else %> deb <%= security_url %> <%= codename %>/updates <%= repos %> -<% if include_src then %> +<% if include_src then -%> deb-src <%= security_url %> <%= codename %>/updates <%= repos %> -<% end %> -<% end %> +<% end -%> +<% end -%> # backports <% if (release == "testing" || release == "unstable" || release == "experimental") %> # There is no backports archive for <%= release %> <% else %> deb <%= backports_url %> <%= codename %>-backports <%= repos %> -<% if include_src then %> +<% if include_src then -%> deb-src <%= backports_url %> <%= codename %>-backports <%= repos %> -<% end %> -<% end %> +<% end -%> +<% end -%> <% if use_volatile %> # volatile @@ -34,40 +34,40 @@ deb-src <%= backports_url %> <%= codename %>-backports <%= repos %> # There is no volatile archive for <%= release %> <% else %> deb <%= volatile_url %> <%= codename %>/volatile <%= repos %> -<% if include_src then %> +<% if include_src then -%> deb-src <%= volatile_url %> <%= codename %>/volatile <%= repos %> -<% end %> -<% end %> -<% end %> +<% end -%> +<% end -%> +<% end -%> -<% if use_next_release then %> +<% if use_next_release then -%> ### Debian next: <%= next_codename %> # basic deb <%= debian_url %> <%= next_codename %> <%= repos %> -<% if include_src then %> +<% if include_src then -%> deb-src <%= debian_url %> <%= next_codename %> <%= repos %> -<% end %> +<% end -%> # security <% if (next_release == "unstable" || next_release == "experimental") %> # There is no security support for <%= next_release %> <% else %> deb <%= security_url %> <%= next_codename %>/updates <%= repos %> -<% if include_src then %> +<% if include_src then -%> deb-src <%= security_url %> <%= next_codename %>/updates <%= repos %> -<% end %> -<% end %> +<% end -%> +<% end -%> # backports <% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") %> # There is no backports archive for <%= next_release %> <% else %> deb <%= backports_url %> <%= next_codename %>-backports <%= repos %> -<% if include_src then %> +<% if include_src then -%> deb-src <%= backports_url %> <%= next_codename %>-backports <%= repos %> -<% end %> -<% end %> +<% end -%> +<% end -%> <% if use_volatile %> # volatile @@ -75,9 +75,9 @@ deb-src <%= backports_url %> <%= next_codename %>-backports <%= repos %> # There is no volatile archive for <%= next_release %> <% else %> deb <%= volatile_url %> <%= next_codename %>/volatile <%= repos %> -<% if include_src then %> +<% if include_src then -%> deb-src <%= volatile_url %> <%= next_codename %>/volatile <%= repos %> -<% end %> -<% end %> -<% end %> -<% end %> +<% end -%> +<% end -%> +<% end -%> +<% end -%> |