Skip to content

Commit 561536f

Browse files
committed
Set a Section: TODO field for program packages
The golang section is for Go development packages, the fact that a program is written in Go is generally of no major relevance for the user, and instead a more suitable section relative to its actual functionality should be used, to help a proper categorization in the archive.
1 parent b0edb5b commit 561536f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ func addLibraryPackage(f *os.File, gopkg, debLib string, dependencies []string)
173173
func addProgramPackage(f *os.File, gopkg, debProg string) {
174174
fmt.Fprintf(f, "\n")
175175
fmt.Fprintf(f, "Package: %s\n", debProg)
176+
fmt.Fprintf(f, "Section: TODO\n")
176177
fmt.Fprintf(f, "Architecture: any\n")
177178
deps := []string{"${misc:Depends}", "${shlibs:Depends}"}
178179
fprintfControlField(f, "Depends", deps)

0 commit comments

Comments
 (0)