X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=lib%2FPackages%2FDoShow.pm;h=3a5e4f3c783f8a42e99859564069cf40f264adf7;hb=38aca122efcdfa5282e2fb1ec911d4085a6067bf;hp=e3e1945b6b7cc7123e4705a47f681e79f16106f1;hpb=8d29452530e823cbcd07a30898e98abe565a046c;p=deb%2Fpackages.git
diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm
index e3e1945..3a5e4f3 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) {
@@ -82,7 +82,7 @@ sub do_show {
if ($suite eq $_) {
$$menu .= "[ $_ ] ";
} else {
- $$menu .= "[ $suite})."\">$_ ] ";
+ $$menu .= "[ $_})."\">$_ ] ";
}
}
$$menu .= '
';
@@ -152,7 +152,6 @@ sub do_show {
_g( "All packages in this section" ),
make_url("$subsection/",''),
$subsection ], );
- my $source = $page->get_src('package');
push @menu, [ _g( "Source:" ),
_g( "Source package building this package" ),
make_url($source,'',{source=>'source'}),
@@ -240,7 +239,8 @@ sub do_show {
$package_page .= sprintf(_g('%d kB'),
$sizes_inst->{$a});
$package_page .= "\n