From: Frank Lichtenheld Date: Sun, 28 Oct 2007 20:35:13 +0000 (+0100) Subject: Packages::DoNewPkg: Support new backend format X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=d02b6c592e4938cf4dc3113ca5fd92e4f79af6d8;p=deb%2Fpackages.git Packages::DoNewPkg: Support new backend format We don't actually use the translation support for short descriptions here since the chances are slim that we will have any for such new packages. Can be added later or by someone else ;) --- diff --git a/lib/Packages/DoNewPkg.pm b/lib/Packages/DoNewPkg.pm index e5b9e88..9be98d5 100644 --- a/lib/Packages/DoNewPkg.pm +++ b/lib/Packages/DoNewPkg.pm @@ -45,7 +45,7 @@ sub do_newpkg { }; while () { chomp; - my @data = split /\s/, $_, 10; + my @data = split /\s/, $_, 11; next unless $data[2]; #removed packages next unless $data[3] eq $suite;