diff options
| author | Jeff Carr <[email protected]> | 2024-11-16 10:30:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-16 10:30:30 -0600 |
| commit | fbf9f4e802fa66327b60cdae1136c549b6344b8c (patch) | |
| tree | 6556635e4ce799c87f86d38a9437e81d873bdeb9 /readControlFile.go | |
| parent | 526605ff8733f14baa737246e2d817d42a556675 (diff) | |
add mirrors.wit.com example. add noarch
Diffstat (limited to 'readControlFile.go')
| -rw-r--r-- | readControlFile.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/readControlFile.go b/readControlFile.go index 8876d64..84008a4 100644 --- a/readControlFile.go +++ b/readControlFile.go @@ -75,6 +75,11 @@ func (c *controlBox) readControlFile() error { case "Architecture": if c.Architecture.String() != value { log.Warn("not sure what to do with Architecture", c.Architecture.String(), value) + if value == "noarch" { + log.Warn("attempting to set noarch") + c.Architecture.SetText(value) + } + } default: log.Warn("error unknown key", key, "value:", value) |
