my $res = "<ul class=\"ul$dep_type{$type}\">\n";
my $first = 1;
my $suite = $opts->{suite}[0];
- my $one_archive = @{$opts->{archive}} > 1 ? '': $opts->{archive}[0];
# use Data::Dumper;
# debug( "print_deps called:\n".Dumper( $pkg, $relations, \$type ), 3 ) if DEBUG;
my $arch = $entry->[3];
my $archive = $entry->[1];
if ( $short_desc ) {
- my $path = $one_archive eq $archive ? "$suite/$archive" :
- $suite;
+ my $path = $suite;
if ( $is_old_pkgs ) {
push @res_pkgs, dep_item( "$ROOT/$path/$p_name",
$p_name, "$pkg_version$arch_str" );
my %virt = split /\01/o, $virt;
debug( "read_entry_simple: key=$key, archives=".
join(" ",(keys %$archives)).", suite=$suite", 1) if DEBUG;
+ return [ $virt{$suite} ] unless defined $result;
foreach (split /\000/o, $result) {
my @data = split ( /\s/o, $_, 8 );
debug( "use entry: @data", 2 ) if DEBUG && $data[1] eq $suite;