X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=lib%2FPackages%2FDoDownload.pm;h=60a50cb72464e6719ad885ee11fc358b6d7a2ad5;hb=01393b020237bbfa4571d41cc98899b4d25acd8b;hp=d2dab309060bf2419d0f7913c4f5b7cd74fd860c;hpb=0d5547e211c0c21886db6f4f9a7b4ac70848408a;p=deb%2Fpackages.git
diff --git a/lib/Packages/DoDownload.pm b/lib/Packages/DoDownload.pm
index d2dab30..60a50cb 100644
--- a/lib/Packages/DoDownload.pm
+++ b/lib/Packages/DoDownload.pm
@@ -232,6 +232,7 @@ sub do_download {
read_entry( \%packages, $pkg, \@results, $opts );
+ @results = grep { $_->[7] ne 'v' } @results;
unless (@results) {
fatal_error( _g( "No such package." )."
".
sprintf( _g( 'Search for the package' ), "$SEARCH_URL/$pkg" ) );
@@ -243,6 +244,7 @@ sub do_download {
}
}
+ debug( "final_result=@$final_result", 1 );
$archive = $final_result->[1];
my %data = split /\000/, $packages_all{"$pkg $arch $final_result->[7]"};
$file = $data{filename};
@@ -270,10 +272,12 @@ sub do_download {
$$page_content .= "
".sprintf( _g( 'You can download the requested file from the %s subdirectory at:' ), $directory )."
\n"; } - hint(_g("If you are running Debian, it's strongly suggested to use a - package manager like aptitude or synaptic to download and install - packages, instead of doing so manually via this website")); + hint(sprintf(_g("If you are running Debian, it's strongly suggested to use a + package manager like aptitude or synaptic to download and install + packages, instead of doing so manually via this website."), + make_url('aptitude','',{arch=>undef}), + make_url('synaptic','',{arch=>undef}) ) ); if ($archive eq 'security') {