diff options
author | Niels Thykier <niels@thykier.net> | 2017-06-28 12:59:37 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-06-28 13:00:54 +0000 |
commit | b9d18f40621b54b7ac687fabb23983d0bea08621 (patch) | |
tree | f4066cfef26c27841de042f1128b01ccd5302aca /dh_install | |
parent | b7da6ea323aae5bdd2a89c7ab4d3356ad938f683 (diff) | |
download | debhelper-b9d18f40621b54b7ac687fabb23983d0bea08621.tar.gz |
Refactor handling of $skip_install tests
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_install')
-rwxr-xr-x | dh_install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ foreach my $package (getpackages()) { # Look at the install files for all packages to handle # list-missing/fail-missing, but skip really installing for # packages that are not being acted on. - my $skip_install=! grep { $_ eq $package } @{$dh{DOPACKAGES}}; + my $skip_install = process_pkg($package) ? 0 : 1; my $tmp=tmpdir($package); my $file=pkgfile($package,"install"); |