diff options
| author | Jeff Carr <[email protected]> | 2024-11-16 11:00:46 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-16 11:00:46 -0600 |
| commit | df17901f47cc7ffc6cb72ad04cbc1d8a1bb83c30 (patch) | |
| tree | a24becb74f90bdbfcaad79e0295ff4594aeb6555 /readControlFile.go | |
| parent | fbf9f4e802fa66327b60cdae1136c549b6344b8c (diff) | |
fix arch 'all' examplev0.22.12
Diffstat (limited to 'readControlFile.go')
| -rw-r--r-- | readControlFile.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/readControlFile.go b/readControlFile.go index 84008a4..184767b 100644 --- a/readControlFile.go +++ b/readControlFile.go @@ -73,12 +73,10 @@ func (c *controlBox) readControlFile() error { // log.Warn("not sure what to do with Package", c.Package.String(), value) // } case "Architecture": + // todo: add logic to find OS arch 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) - } + log.Warn("attempting to set arch to", value) + c.Architecture.SetText(value) } default: |
