Merge branch 'Arsen6331:master' into patch-2

This commit is contained in:
Sven Wick 2022-09-28 22:43:04 +02:00 committed by GitHub
commit c3aba08681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -239,6 +239,10 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager) ([]st
setScripts(&vars, pkgInfo, filepath.Dir(script))
if slices.Contains(vars.Architectures, "all") {
pkgInfo.Arch = "all"
}
if pkgInfo.Arch == "arm" {
pkgInfo.Arch = checkARMVariant()
}