66 |
} |
} |
67 |
} |
} |
68 |
@headers = reverse sort { $a cmp $b } @headers; |
@headers = reverse sort { $a cmp $b } @headers; |
69 |
|
if (grep { $_->filename =~ m#/centos/[\d.]+/(os|updates|fasttrack|extras)/#i } @headers) |
70 |
|
@headers = grep { $_->filename !~ m#/fedora/#i || $_->filename =~ m#/epel/#i || $_ eq $rpms{$rpm} } @headers; |
71 |
|
} |
72 |
unless ($opts{a}) { |
unless ($opts{a}) { |
73 |
if (grep { $_->filename =~ m#/centos/[\d.]+/(updates|fasttrack)/#i } @headers) |
if (grep { $_->filename =~ m#/centos/[\d.]+/(updates|fasttrack)/#i } @headers) |
74 |
{ |
{ |
76 |
} |
} |
77 |
if (grep { $_->filename =~ m#/centos/[\d.]+/(os|updates|fasttrack|extras)/#i || $_->filename =~ m#/(dag|epel)/[^d]#i } @headers) |
if (grep { $_->filename =~ m#/centos/[\d.]+/(os|updates|fasttrack|extras)/#i || $_->filename =~ m#/(dag|epel)/[^d]#i } @headers) |
78 |
{ |
{ |
79 |
@headers = grep { $_->filename !~ m#/(atrpms|fedora)/#i || $_->filename =~ m#/epel/#i || $_ eq $rpms{$rpm} } @headers; |
@headers = grep { $_->filename !~ m#/atrpms/#i || $_ eq $rpms{$rpm} } @headers; |
80 |
} |
} |
81 |
} |
} |
82 |
if ($#headers < 0) |
if ($#headers < 0) |