From aedb5a3bef4eb587e56744837f528836986e9f92 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 11 Sep 2025 18:53:40 -0500 Subject: make sure arch is set --- build.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build.go') diff --git a/build.go b/build.go index becbcd4..1fd1258 100644 --- a/build.go +++ b/build.go @@ -256,6 +256,9 @@ func writeDebianControlFile(repo *gitpb.Repo) bool { fmt.Fprintln(cf, "Package:", repo.Control["Package"]) // c.Package.String()) fmt.Fprintln(cf, "Source:", repo.Control["Source"]) // c.Source.String()) fmt.Fprintln(cf, "Version:", repo.Control["Version"]) + if repo.Control["Architecture"] == "" { + repo.Control["Architecture"] = "amd64" + } fmt.Fprintln(cf, "Architecture:", repo.Control["Architecture"]) // c.Architecture.String()) writeControlVar(cf, repo, "Depends") -- cgit v1.2.3