X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=lib%2FPackages%2FDoShow.pm;h=21bd9852d22019c3494eb69d17eba7ba9cece11d;hb=1f05205070c681dcdd3df2f03c430a98eafee540;hp=87320e8b65fface9a5f31d7eb0993c5af7c7d54b;hpb=78869ba170e4ca1db9f8a0dc7be33f09947b0ed2;p=deb%2Fpackages.git diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 87320e8..21bd985 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -119,7 +119,7 @@ sub do_show { debug( "Data search and merging took ".timestr($std) ) if DEBUG; my $did = $page->get_newest( 'description' ); - my @tags = split(/, /, $page->get_newest( 'tag' )); + my @tags = map { [ $_, $debtags{$_} ] } split(/, /, $page->get_newest( 'tag' )); $contents{tags} = \@tags; $section = $page->get_newest( 'section' ); @@ -204,10 +204,6 @@ sub do_show { $contents{desc}{short} = _g( "virtual package" ); $contents{subsection} = 'virtual'; - my $policy_url = 'http://www.debian.org/doc/debian-policy/'; - note( sprintf( _g( 'This is a virtual package. See the Debian policy for a definition of virtual packages.' ), - $policy_url, $policy_url )); - my $provided_by = $page->{provided_by}; $contents{providers} = []; pkg_list( \%packages, $opts, $provided_by, 'en', $contents{providers} );