]> git.deb.at Git - deb/packages.git/commitdiff
[UBUNTU] Packages::DoShow: Don't set contents_avail for *-{backports,updates}
authorFrank Lichtenheld <frank@lichtenheld.de>
Wed, 6 Feb 2008 18:00:00 +0000 (19:00 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Wed, 6 Feb 2008 18:00:00 +0000 (19:00 +0100)
lib/Packages/DoShow.pm

index f40d1a21553eb5785eda35c072d9c6eaabb53dc6..bd7860f04f4953b5cd400b361c6567f96805bf8d 100644 (file)
@@ -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;