From 79dd86306edfb7822f44220ef211254959d707fb Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 17 Nov 2024 17:46:54 -0600 Subject: [PATCH] lame error. fix this when I get to riscv --- readControlFile.go | 8 ++++++-- 1 file 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()