Skip to content

Commit

Permalink
Merge pull request jordansissel#778 from nbrownus/master
Browse files Browse the repository at this point in the history
Allow removal of Vendor field for deb

This can be done in the CLI by setting --vendor to an empty string. For example `--vendor ""`

The default behavior "Vendor: none" still remains.
  • Loading branch information
jls committed Oct 7, 2014
2 parents 6e0d400 + 7992f08 commit a3daaa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/deb.erb
@@ -1,7 +1,9 @@
Package: <%= name %>
Version: <%= "#{epoch}:" if epoch %><%= version %><%= "-" + iteration.to_s if iteration %>
License: <%= license %>
<% if !vendor.nil? and !vendor.empty? -%>
Vendor: <%= vendor %>
<% end -%>
Architecture: <%= architecture %>
Maintainer: <%= maintainer %>
Installed-Size: <%= attributes[:deb_installed_size] %>
Expand Down

0 comments on commit a3daaa2

Please sign in to comment.