Skip to content

Commit

Permalink
Fix debian InRelease Acquire-By-Hash newline (#29204) (#29299)
Browse files Browse the repository at this point in the history
Backport #29204

Co-authored-by: Robin Schoonover <robin@cornhooves.org>
  • Loading branch information
wxiaoguang and rschoon authored Feb 21, 2024
1 parent 9379352 commit f634982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/packages/debian/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func buildReleaseFiles(ctx context.Context, ownerID int64, repoVersion *packages
fmt.Fprintf(w, "Components: %s\n", strings.Join(components, " "))
fmt.Fprintf(w, "Architectures: %s\n", strings.Join(architectures, " "))
fmt.Fprintf(w, "Date: %s\n", time.Now().UTC().Format(time.RFC1123))
fmt.Fprint(w, "Acquire-By-Hash: yes")
fmt.Fprint(w, "Acquire-By-Hash: yes\n")

pfds, err := packages_model.GetPackageFileDescriptors(ctx, pfs)
if err != nil {
Expand Down

0 comments on commit f634982

Please sign in to comment.