X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=lib%2FPackages%2FDoShow.pm;h=9f59690589d59ec1745a27dc937fd24ee2bda1b3;hb=4fce6c73c1628aa97d4ffcaf0d22e31e736ef9f4;hp=422ca7aada6071c445cc31f147bb4e9670f32686;hpb=56af0d0d5ab185d52da218f7405632ef5ade9f12;p=deb%2Fpackages.git diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 422ca7a..9f59690 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -230,7 +230,8 @@ sub do_show { $d{version} = $versions->{$a} if $multiple_versions; $d{archive} = $archives->{$a}; - if ($subsection ne 'debian-installer') { + if ( ($suite ne "woody") && ($suite ne "bo") + && ($subsection ne 'debian-installer')) { $d{contents_avail} = 1; } push @downloads, \%d; @@ -240,11 +241,13 @@ sub do_show { # # more information # + my $changesandcopy = 0; + $changesandcopy = 1 if suites_cmp($suite, "woody") >= 0; moreinfo( name => $pkg, data => $page, vars => \%contents, opts => $opts, env => \%FTP_SITES, bugreports => 1, sourcedownload => 1, - changesandcopy => 1, maintainers => 1, + changesandcopy => $changesandcopy, maintainers => 1, search => 1 ); } else { # unless $page->is_virtual $contents{is_virtual} = 1; @@ -320,11 +323,13 @@ sub do_show { # # more information # + my $changesandcopy = 0; + $changesandcopy = 1 if suites_cmp($suite, "woody") >= 0; moreinfo( name => $pkg, data => $page, vars => \%contents, opts => $opts, env => \%FTP_SITES, bugreports => 1, - changesandcopy => 1, maintainers => 1, + changesandcopy => $changesandcopy, maintainers => 1, search => 1, is_source => 1 ); } # else (unless $opts->{source})