Legend:
- Unmodified
- Added
- Removed
-
0.12.7/pb/bin/pb
r1878 r1923 3713 3713 my $pbos = pb_distro_get_context(); 3714 3714 my $distrolist = pb_get_distros($pbos,undef); 3715 # List of distriubtions 3715 3716 my %dl; 3716 3717 my %theorlist; … … 3803 3804 $theorlist{"$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}/$pbrealpkgrpm-$pbver-$pbtag$pbos->{'suffix'}"} = 0; 3804 3805 } elsif ($pbos->{'type'} eq "deb") { 3805 $theorlist{"$pbos->{'name'}/$pbos->{'version'}/$pbrealpkgdeb"."_$pbver-$pbtag"} = 0; 3806 # TODO are we always using the last arch ? 3806 $theorlist{"$pbos->{'name'}/$pbos->{'version'}/$pbrealpkgdeb"."_$pbver-$pbtag"."_$pbos->{'arch'}"} = 0; 3807 3807 $archlist{"$pbos->{'name'}/$pbos->{'version'}/$pbrealpkgdeb"."_$pbver-$pbtag"} = "$pbos->{'arch'}"; 3808 3808 } elsif ($pbos->{'type'} eq "ebuild") { … … 3888 3888 my $p = $_; 3889 3889 $p =~ s/\.(i[3456]86|x86_64|noarch|src)\.rpm$//; 3890 $p =~ s/_(i[3456]86|amd64|all)\.deb$//; 3890 $p =~ s/\.deb$//; 3891 #$p =~ s/_(i[3456]86|amd64|all)\.deb$//; 3891 3892 $p =~ s/(-0\.[0-9]{8})[0-9]{6}/$1*/ if ((defined $testver) && (defined $testver->{$ENV{'PBPROJ'}}) && ($testver->{$ENV{'PBPROJ'}} =~ /true/i)); 3892 3893 $p =~ s/(-r|_p[0-9]+)\.ebuild/$1*/ if ((defined $testver) && (defined $testver->{$ENV{'PBPROJ'}}) && ($testver->{$ENV{'PBPROJ'}} =~ /true/i));
Note:
See TracChangeset
for help on using the changeset viewer.