From 2040be2f8a08d34624c92f71d24a377f16af2202 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Fri, 6 Jun 2014 02:14:15 +0400 Subject: [PATCH] Deduplicate architectures when guessed. #36 --- deb/publish.go | 1 + 1 file changed, 1 insertion(+) diff --git a/deb/publish.go b/deb/publish.go index ced0e881..3d63a614 100644 --- a/deb/publish.go +++ b/deb/publish.go @@ -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