Skip to content

Commit

Permalink
fix: vendor is not a recognized deb control field (#446)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Feb 3, 2022
1 parent c2aabd2 commit 3ea7b84
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions deb/deb.go
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,6 @@ Architecture: {{.Info.Arch}}
{{- if .Info.Maintainer}}
Maintainer: {{.Info.Maintainer}}
{{- end }}
{{- if .Info.Vendor}}
Vendor: {{.Info.Vendor}}
{{- end }}
Installed-Size: {{.InstalledSize}}
{{- with .Info.Replaces}}
Replaces: {{join .}}
Expand Down
1 change: 0 additions & 1 deletion deb/testdata/control.golden
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Section: default
Priority: extra
Architecture: amd64
Maintainer: Carlos A Becker <pkg@carlosbecker.com>
Vendor: nope
Installed-Size: 10
Replaces: svn
Provides: bzr
Expand Down
1 change: 0 additions & 1 deletion deb/testdata/control2.golden
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Section: default
Priority: extra
Architecture: amd64
Maintainer: Carlos A Becker <pkg@carlosbecker.com>
Vendor: nope
Installed-Size: 10
Homepage: http://carlosbecker.com
Description: Foo does things

0 comments on commit 3ea7b84

Please sign in to comment.