mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-28 06:41:43 +00:00
skip architecture list patching in case if any architecture is set
This commit is contained in:
@ -57,6 +57,8 @@ class Sources(LazyLogging):
|
||||
return
|
||||
|
||||
architectures = Package.supported_architectures(sources_dir)
|
||||
if "any" in architectures: # makepkg does not like when there is any other arch except for any
|
||||
return
|
||||
architectures.add(architecture)
|
||||
patch = PkgbuildPatch("arch", list(architectures))
|
||||
patch.write(pkgbuild_path)
|
||||
|
Reference in New Issue
Block a user