[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.3.4-58-g93d28c1



The following commit has been merged in the master branch:
commit 63fadcf56320094e3350534c6b10b23bbf2944b0
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Fri Mar 26 23:37:56 2010 -0600

    Correctly add coll scripts needed by other coll scripts to the dep map

diff --git a/frontend/lintian b/frontend/lintian
index 1a2616a..44f2583 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1091,6 +1091,14 @@ my $map = Lintian::DepMap::Properties->new();
 
 # {{{ determine which info is needed by the collection scripts
 for my $c (keys %unpack_infos) {
+    if (exists $collection_info{$c}{'needs-info'}) {
+	map { $unpack_infos{$_} = 1; } @{$collection_info{$c}{'needs-info'}};
+    }
+}
+# }}}
+
+# {{{ add the collection scripts to the dependencies tree
+for my $c (keys %unpack_infos) {
     $map->add('coll-' . $c, {'type' => 'collection', 'name' => $c});
     if (exists $collection_info{$c}{'needs-info'}) {
 	$map->addp('coll-' . $c, 'coll-', @{$collection_info{$c}{'needs-info'}});

-- 
Debian package checker


Reply to: