Skip to content
Browse files

Very minor edit. Fixing an incorrectly escaped comment in the deb erb

template file. (added '-' to the end tag).

Without the edit, the template was inserting an extra blank line into the
config file. When dpkg/reprepro try to read the file the blank line is
interpreted as the end of the configuration, and the additional lines
below it cause an error.

With the edit, no additional blank line is inserted. The comment is
correctly escaped.

Signed-off-by: Andrew Bunday <andrew.bunday@gmail.com>
  • Loading branch information...
1 parent f0ae9c3 commit 50eba5f530ae08b2f78617c26cb0facc962907da @andrewbunday andrewbunday committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/deb.erb
View
2 templates/deb.erb
@@ -17,7 +17,7 @@ Conflicts: <%= conflicts.join(", ") %>
<%# end -%>
<% if !provides.empty? -%>
<%# Turn each provides from 'foo = 123' to simply 'foo' because Debian :\ -%>
-<%# http://www.debian.org/doc/debian-policy/ch-relationships.html %>
+<%# http://www.debian.org/doc/debian-policy/ch-relationships.html -%>
Provides: <%= provides.first.split(" ").first %>
<% end -%>
<% if !replaces.empty? -%>

0 comments on commit 50eba5f

Please sign in to comment.
Something went wrong with that request. Please try again.