Skip to content

Commit

Permalink
Merge pull request #11591 from mlschroe/master
Browse files Browse the repository at this point in the history
[backend] getprojpack: always add the modulemd package to the packids…
  • Loading branch information
mlschroe committed Sep 8, 2021
2 parents 652e612 + f5d4bc6 commit 19b8470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/bs_srcserver
Original file line number Diff line number Diff line change
Expand Up @@ -1298,8 +1298,8 @@ sub getprojpack {
$modulemd_packid = 'modulemd' if grep {$_ eq 'modulemd'} @packages;
} else {
$modulemd_packid = 'modulemd' if readpackage($projid, $proj, 'modulemd', undef, 1);
if ($modulemd_packid && !grep {$_ eq $modulemd_packid} @packages) {
push @packages, $modulemd_packid;
if ($modulemd_packid) {
push @packages, $modulemd_packid unless grep {$_ eq $modulemd_packid} @packages;
$packids->{$modulemd_packid} = 1 if $packids;
}
}
Expand Down

0 comments on commit 19b8470

Please sign in to comment.