lame error. fix this when I get to riscv
This commit is contained in:
parent
53ca277ca1
commit
79dd86306e
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue