Deduplicate architectures when guessed. #36

This commit is contained in:
Andrey Smirnov committed 2014-06-06 02:14:15 +04:00
1 parent 1957c811e8
commit 2040be2f8a
1 file changed
+1
+1
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