summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_installsystemd16
1 files changed, 0 insertions, 16 deletions
diff --git a/dh_installsystemd b/dh_installsystemd
index 308cde41..0f13cac8 100755
--- a/dh_installsystemd
+++ b/dh_installsystemd
@@ -201,9 +201,6 @@ sub extract_key {
# PROMISE: DH NOOP WITHOUT tmp(lib/systemd/system) tmp(usr/lib/tmpfiles.d) tmp(etc/tmpfiles.d) mount path service socket target tmpfile timer
-my %requested_files = map { basename($_) => 1 } @ARGV;
-my %installed_files;
-
my %snippet_options = ('snippet-order' => 'service');
@@ -324,8 +321,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
}
- $installed_files{$base} = 1 if exists($requested_files{$base});
-
# Skip template service files like e.g. getty@.service.
# Enabling, disabling, starting or stopping those services
# without specifying the instance (e.g. getty@ttyS0.service) is
@@ -402,17 +397,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
}
-if (%requested_files) {
- my $any_missing = 0;
- for my $name (sort(keys(%requested_files))) {
- if (not exists($installed_files{$name})) {
- warning(qq{Requested unit "$name" but it was not found in any package acted on.});
- $any_missing = 1;
- }
- }
- error("Could not handle all of the requested services") if $any_missing;
-}
-
=head1 SEE ALSO
L<debhelper(7)>, L<dh_installinit(1)>, L<deb-systemd-helper(1)>