Skip to content

Commit

Permalink
[api] fix aggregate package kind setting
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jan 13, 2012
1 parent 843ce2f commit 36fd1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/db_package.rb
Expand Up @@ -371,7 +371,7 @@ def private_set_package_kind( kinds=nil, directory=nil, _noreset=nil )
self.db_package_kinds.create :kind => 'patchinfo'
end
if xml.elements["/directory/entry/@name='_aggregate'"]
self.db_package_kinds.create :type => 'aggregate'
self.db_package_kinds.create :kind => 'aggregate'
end
if xml.elements["/directory/entry/@name='_link'"]
self.db_package_kinds.create :kind => 'link'
Expand Down

0 comments on commit 36fd1ac

Please sign in to comment.