From: Jeroen van Wolffelaar Date: Wed, 1 Feb 2006 21:45:33 +0000 (+0000) Subject: Set priority to '-' if it isn't in the Sources.gz file X-Git-Tag: switch-to-templates~214 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=3c3384fc7225f425202a13ee04889362a9279a28;p=deb%2Fpackages.git Set priority to '-' if it isn't in the Sources.gz file --- diff --git a/bin/parse-sources b/bin/parse-sources index 77c7da5..4976260 100755 --- a/bin/parse-sources +++ b/bin/parse-sources @@ -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"; }