diff --git a/cmd/cmd b/cmd/cmd index d1bea31..9aa49c5 100755 Binary files a/cmd/cmd and b/cmd/cmd differ diff --git a/cmd/main.go b/cmd/main.go index 38a9476..5cb1e82 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -192,9 +192,11 @@ func main() { } // Check if the architecture is supported. - if preMap.DisplayData.Architecture != "noarch" || preMap.DisplayData.Architecture != string(uts.Machine[:]) { - fmt.Println(color.RedString("Package architecture not supported: " + preMap.DisplayData.Architecture)) - os.Exit(1) + if preMap.DisplayData.Architecture != strings.TrimRight(string(uts.Machine[:]), "\x00") { + if preMap.DisplayData.Architecture != "noarch" { + fmt.Println(color.RedString("Package architecture not supported: " + preMap.DisplayData.Architecture)) + os.Exit(1) + } } preMap.DisplayData.IsDependency = false