summaryrefslogtreecommitdiff
path: root/build.go
diff options
context:
space:
mode:
Diffstat (limited to 'build.go')
-rw-r--r--build.go3
1 files changed, 3 insertions, 0 deletions
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")