diff options
author | Niels Thykier <niels@thykier.net> | 2017-04-03 09:14:03 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-04-08 07:23:43 +0000 |
commit | 597a12e338beccc3d6a1be1f8c9c007d1a113564 (patch) | |
tree | 1ac7f7e8fd6cf15a99c0cc43a36f1ff9b1b169c7 /dh_install | |
parent | 444b225ea6f162546663e7c5cda5fe61e5225e71 (diff) |
dh_install: Uninstalled files should still fail
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_install')
-rwxr-xr-x | dh_install | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -256,6 +256,11 @@ foreach my $package (getpackages()) { log_installed_files('dh_install', $package, @installed); } +if ($missing_files) { + # There were files we could not install (e.g. patterns that matched nothing) + error("missing files, aborting"); +} + my @options; push @options, "--list-missing" if $dh{LIST_MISSING}; push @options, "--fail-missing" if $dh{FAIL_MISSING}; |