summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_installinfo4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_installinfo b/dh_installinfo
index 08a68f69..247f6160 100755
--- a/dh_installinfo
+++ b/dh_installinfo
@@ -57,7 +57,7 @@ my $nodocs = is_build_profile_active('nodoc') ? 1 : 0;
# or dh_missing might make noise.
$error_handler = \&glob_expand_error_handler_silently_ignore if $nodocs;
-foreach my $package (@{$dh{DOPACKAGES}}) {
+foreach my $package (getpackages()) {
my $tmp=tmpdir($package);
my $file=pkgfile($package,"info");
@@ -71,7 +71,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
push @info, @ARGV;
}
- next if $nodocs;
+ next if not process_pkg($package) or $nodocs;
if (@info) {
install_dir("$tmp/usr/share/info");