summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-17 17:46:54 -0600
committerJeff Carr <[email protected]>2024-11-17 17:46:54 -0600
commit79dd86306edfb7822f44220ef211254959d707fb (patch)
treedb90f8e3a4c7317898db1d28b53800496786e9b5
parent53ca277ca196ed4b063c1b75b88ee5efc5c3cb09 (diff)
lame error. fix this when I get to riscvv0.22.14
-rw-r--r--readControlFile.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/readControlFile.go b/readControlFile.go
index 184767b..9d2bf0d 100644
--- a/readControlFile.go
+++ b/readControlFile.go
@@ -19,10 +19,14 @@ func (c *controlBox) readControlFile() error {
// return errors.New("'control': file not found")
// if this happens, make up a fake control file
pairs["Maintainer"] = "go-deb build"
- pairs["Architecture"] = "x86"
+ pairs["Architecture"] = "amd64" // TODO: figure this out
pairs["Recommends"] = ""
pairs["Source"] = "notsure"
- pairs["Description"] = "put something here"
+ if argv.Repo == "" {
+ pairs["Description"] = "put something here"
+ } else {
+ pairs["Description"] = argv.Repo
+ }
}
defer file.Close()