]> git.deb.at Git - deb/packages.git/commitdiff
Set priority to '-' if it isn't in the Sources.gz file
authorJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Wed, 1 Feb 2006 21:45:33 +0000 (21:45 +0000)
committerJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Wed, 1 Feb 2006 21:45:33 +0000 (21:45 +0000)
bin/parse-sources

index 77c7da542d6ec564b5b304124dc3ea6c1221a398..4976260b08523357fcc4944589feb7c14d1a78cc 100755 (executable)
@@ -58,6 +58,7 @@ for my $suite (@suites) {
                if ($data{section} && ($data{section} =~ m=/=o)) {
                    ($section, $subsection) = split m=/=o, $data{section}, 2;
                }
+               $data{'priority'} = "-" if not exists($data{'priority'});
                $sources_small{$data{'package'}} .=
                        "$suite $section $subsection $data{'priority'} $data{'version'}\000";
        }