mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Deduplicate architectures when guessed. #36
This commit is contained in:
@@ -400,6 +400,7 @@ func (p *PublishedRepo) Publish(packagePool aptly.PackagePool, publishedStorage
|
|||||||
}
|
}
|
||||||
|
|
||||||
sort.Strings(p.Architectures)
|
sort.Strings(p.Architectures)
|
||||||
|
p.Architectures = utils.StrSliceDeduplicate(p.Architectures)
|
||||||
}
|
}
|
||||||
|
|
||||||
var suffix string
|
var suffix string
|
||||||
|
|||||||
Reference in New Issue
Block a user