/[smeserver]/builds_bin/update_repos
ViewVC logotype

Diff of /builds_bin/update_repos

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.63 by slords, Mon Nov 22 21:17:22 2010 UTC Revision 1.64 by slords, Mon Nov 22 22:51:44 2010 UTC
# Line 373  foreach my $ver ( sort { $a <=> $b } key Line 373  foreach my $ver ( sort { $a <=> $b } key
373    
374          foreach my $pkg ( sort { $a->{nvra} cmp $b->{nvra} } @{$rpms->{$base}->{rpms}} ) {          foreach my $pkg ( sort { $a->{nvra} cmp $b->{nvra} } @{$rpms->{$base}->{rpms}} ) {
375              if ( $pkg->{latest} && $pkg->{latest} == 1 ) {              if ( $pkg->{latest} && $pkg->{latest} == 1 ) {
376                  unless ( grep { $_->{nvra} eq $pkg->{nvra} && $_->{repo} eq $stage } @{$rpms->{$base}->{rpms}} ) {                  unless ( grep { $_->{rpm} eq $pkg->{rpm} && $_->{repo} eq $stage } @{$rpms->{$base}->{rpms}} ) {
377                      $pkg->{oldrepo} = $pkg->{repo} unless $pkg->{oldrepo};                      $pkg->{oldrepo} = $pkg->{repo} unless $pkg->{oldrepo};
378                      $pkg->{repo} = $stage;                      $pkg->{repo} = $stage;
379                      push @{$pkg->{repos}}, $stage;                      push @{$pkg->{repos}}, $stage;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed