Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1ad7043
)
If architecture is provided, an invalid source line is generated (no space between...
author
Stefan van Wouw
<stefanvanwouw@gmail.com>
Wed, 23 Oct 2013 09:22:33 +0000
(11:22 +0200)
committer
Stefan van Wouw
<stefanvanwouw@gmail.com>
Wed, 23 Oct 2013 09:22:33 +0000
(11:22 +0200)
templates/source.list.erb
patch
|
blob
|
history
diff --git
a/templates/source.list.erb
b/templates/source.list.erb
index e8b68659406b256b27c991d9d6c53c3534001c65..9946966ee5322dab85336320c1adfba88999381e 100644
(file)
--- a/
templates/source.list.erb
+++ b/
templates/source.list.erb
@@
-1,5
+1,5
@@
# <%= @name %>
# <%= @name %>
-deb <% if @architecture %>[arch=<%= @architecture %>]<% end %><%= @location %> <%= @release_real %> <%= @repos %>
+deb <% if @architecture %>[arch=<%= @architecture %>]
<% end %><%= @location %> <%= @release_real %> <%= @repos %>
<%- if @include_src then -%>
<%- if @include_src then -%>
-deb-src <% if @architecture %>[arch=<%= @architecture %>]<% end %><%= @location %> <%= @release_real %> <%= @repos %>
+deb-src <% if @architecture %>[arch=<%= @architecture %>]
<% end %><%= @location %> <%= @release_real %> <%= @repos %>
<%- end -%>
<%- end -%>