Skip to content

Commit

Permalink
Deduplicate architectures when guessed. #36
Browse files Browse the repository at this point in the history
  • Loading branch information
smira committed Jun 5, 2014
1 parent 1957c81 commit 2040be2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deb/publish.go
Expand Up @@ -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
Expand Down

0 comments on commit 2040be2

Please sign in to comment.