Skip to content

Commit

Permalink
fix: vendor is not a recognized deb control field
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 00413e3 commit 3aa1248
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 3aa1248

Please sign in to comment.