From 3c3384fc7225f425202a13ee04889362a9279a28 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Wed, 1 Feb 2006 21:45:33 +0000 Subject: [PATCH] Set priority to '-' if it isn't in the Sources.gz file --- bin/parse-sources | 1 + 1 file changed, 1 insertion(+) 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"; } -- 2.39.2