Skip to content

Commit f634982

Browse files
wxiaoguangrschoon
andauthored
Fix debian InRelease Acquire-By-Hash newline (#29204) (#29299)
Backport #29204 Co-authored-by: Robin Schoonover <robin@cornhooves.org>
1 parent 9379352 commit f634982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/packages/debian/repository.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func buildReleaseFiles(ctx context.Context, ownerID int64, repoVersion *packages
341341
fmt.Fprintf(w, "Components: %s\n", strings.Join(components, " "))
342342
fmt.Fprintf(w, "Architectures: %s\n", strings.Join(architectures, " "))
343343
fmt.Fprintf(w, "Date: %s\n", time.Now().UTC().Format(time.RFC1123))
344-
fmt.Fprint(w, "Acquire-By-Hash: yes")
344+
fmt.Fprint(w, "Acquire-By-Hash: yes\n")
345345

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

0 commit comments

Comments
 (0)