Deduplicate architectures when guessed. #36

This commit is contained in:
Andrey Smirnov
2014-06-06 02:14:15 +04:00
parent 1957c811e8
commit 2040be2f8a

View File

@@ -400,6 +400,7 @@ func (p *PublishedRepo) Publish(packagePool aptly.PackagePool, publishedStorage
}
sort.Strings(p.Architectures)
p.Architectures = utils.StrSliceDeduplicate(p.Architectures)
}
var suffix string