lame error. fix this when I get to riscv

This commit is contained in:
Jeff Carr 2024-11-17 17:46:54 -06:00
parent 53ca277ca1
commit 79dd86306e
1 changed files with 6 additions and 2 deletions

View File

@ -19,10 +19,14 @@ func (c *controlBox) readControlFile() error {
// return errors.New("'control': file not found") // return errors.New("'control': file not found")
// if this happens, make up a fake control file // if this happens, make up a fake control file
pairs["Maintainer"] = "go-deb build" pairs["Maintainer"] = "go-deb build"
pairs["Architecture"] = "x86" pairs["Architecture"] = "amd64" // TODO: figure this out
pairs["Recommends"] = "" pairs["Recommends"] = ""
pairs["Source"] = "notsure" pairs["Source"] = "notsure"
pairs["Description"] = "put something here" if argv.Repo == "" {
pairs["Description"] = "put something here"
} else {
pairs["Description"] = argv.Repo
}
} }
defer file.Close() defer file.Close()