From: Frank Lichtenheld Date: Wed, 6 Feb 2008 18:00:00 +0000 (+0100) Subject: [UBUNTU] Packages::DoShow: Don't set contents_avail for *-{backports,updates} X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=cbb730b54128ae5a5783ebaab1ba674341c12a86;p=deb%2Fpackages.git [UBUNTU] Packages::DoShow: Don't set contents_avail for *-{backports,updates} --- diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index f40d1a2..bd7860f 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -231,7 +231,8 @@ sub do_show { $d{version} = $versions->{$a} if $multiple_versions; $d{archive} = $archives->{$a}; if ( ($suite ne "experimental") - && ($subsection ne 'debian-installer')) { + && ($subsection ne 'debian-installer') + && ($suite !~ /-(backports|updates)$/)) { $d{contents_avail} = 1; } push @downloads, \%d;