#276: fixed condition of creating task for regenerate metadata for software center

This commit is contained in:
Vokhmin Alexey V 2013-08-26 20:34:07 +04:00
parent fd3f096402
commit 12ceaefef4
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ module AbfWorker
statuses = RepositoryStatus.where(:platform_id => platform.id)
next if repos.find{ |r| r.repo_lock_file_exists? }
next if statuses.present? &&
statuses.map{ |s| s.ready? || s.can_start_regeneration? || s.can_start_resign? }.uniq == [true]
statuses.map{ |s| s.ready? || s.can_start_regeneration? || s.can_start_resign? }.uniq != [true]
cmd_params = {
'RELEASED' => platform.released,