X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=lib%2FPackages%2FDoShow.pm;h=5b22552f348a79906045128eb63ab589df46c331;hb=411dd86a5f305fcce69912b47f84dc16914d2da1;hp=6f8a71ce8a300c9b2b840f98f4abcbd7858cf640;hpb=f9f183095d5100a9cecc864361e19881601d780f;p=deb%2Fpackages.git
diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm
index 6f8a71c..5b22552 100644
--- a/lib/Packages/DoShow.pm
+++ b/lib/Packages/DoShow.pm
@@ -70,7 +70,7 @@ sub do_show {
unless (@results || @non_results ) {
fatal_error( _g( "No such package." )."
".
- sprintf( _g( 'Search for the package' ), "$SEARCH_URL/$pkg" ) );
+ sprintf( _g( 'Search for the package' ), make_search_url('','keywords='.uri_escape($pkg)) ) );
} else {
my %all_suites;
foreach (@results, @non_results) {
@@ -122,6 +122,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' ));
$section = $page->get_newest( 'section' );
$subsection = $page->get_newest( 'subsection' );
my $filenames = $page->get_arch_field( 'filename' );
@@ -183,6 +184,7 @@ sub do_show {
);
}
$package_page .= pdesc( $short_desc, $long_desc );
+ $package_page .= ptags( $pkg, @tags ) if @tags;
#
# display dependencies
@@ -239,7 +241,8 @@ sub do_show {
$package_page .= sprintf(_g('%d kB'),
$sizes_inst->{$a});
$package_page .= "\n