summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_install18
1 files changed, 10 insertions, 8 deletions
diff --git a/dh_install b/dh_install
index c47db936..a094462c 100755
--- a/dh_install
+++ b/dh_install
@@ -269,14 +269,16 @@ if ($missing_files) {
error("missing files, aborting");
}
-my @options;
-push @options, "--list-missing" if $dh{LIST_MISSING};
-push @options, "--fail-missing" if $dh{FAIL_MISSING};
-my $ret = system("dh_missing", @options);
-if ($ret >> 8 != 0) {
- exit $ret >> 8;
-} elsif ($ret) {
- exit 1;
+if ($dh{LIST_MISSING} || $dh{FAIL_MISSING}) {
+ my @options;
+ push @options, "--list-missing" if $dh{LIST_MISSING};
+ push @options, "--fail-missing" if $dh{FAIL_MISSING};
+ my $ret = system("dh_missing", @options);
+ if ($ret >> 8 != 0) {
+ exit $ret >> 8;
+ } elsif ($ret) {
+ exit 1;
+ }
}
=head1 LIMITATIONS