]> git.deb.at Git - deb/packages.git/commitdiff
Make sure also only-virtual packages are listed in packages_small.db
authorJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Thu, 23 Feb 2006 13:56:29 +0000 (13:56 +0000)
committerJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Thu, 23 Feb 2006 13:56:29 +0000 (13:56 +0000)
bin/parse-packages

index 34ac95d7768595056e3766446209363a51161dbe..edc97a106f3446abdfd910d9f3f036c6d15e46d6 100755 (executable)
@@ -78,6 +78,7 @@ for my $suite (@SUITES) {
                if ($data{'provides'}) {
                    foreach (split /\s*,\s*/, $data{'provides'}) {
                        $virtual_packages{$_}{$suite}{$data{'package'}}++;
+                       $packages_small{$_} ||= {};
                    }
                }
                $package_names{$data{'package'}} = 1;