Skip to content

Commit

Permalink
* Fix jordansissel#319 Add Debian Predepends.
Browse files Browse the repository at this point in the history
  • Loading branch information
pranay.kanwar committed Dec 21, 2012
1 parent fbb192a commit c241056
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions templates/deb.erb
Expand Up @@ -11,10 +11,9 @@ Depends: <%= dependencies.collect { |d| fix_dependency(d) }.flatten.join(", ") %
<% if !conflicts.empty? -%>
Conflicts: <%= conflicts.join(", ") %>
<% end -%>
<%# if !pre_dependencies.empty? -%>
<%# properpredeps = pre_dependencies.collect { |d| fix_dependency(d) }.flatten -%>
#Pre-Depends: <%#= properpredeps.flatten.join(", ") %>
<%# end -%>
<% if attributes[:deb_pre_depends_given?] -%>
Pre-Depends: <%= attributes[:deb_pre_depends].collect { |d| fix_dependency(d) }.flatten.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 -%>
Expand Down

0 comments on commit c241056

Please sign in to comment.