Commit 70548863 authored by Chris Lamb's avatar Chris Lamb 💬

Fix false positives for templated (eg. "foo@.service") service files when...

Fix false positives for templated (eg. "foo@.service") service files when checking for packages that appear to lack corresponding init scripts.
parent 6a717517
Pipeline #74689 passed with stages
in 75 minutes and 1 second
......@@ -513,7 +513,7 @@ sub check_missing_script {
my ($info) = @_;
for my $file ($info->sorted_index) {
if ( $file =~ m,etc/sv/([^/]+)/run$,
or $file =~ m,lib/systemd/system/(.*)\.service,) {
or $file =~ m,lib/systemd/system/(.*?)@?\.service,) {
my $service = $1;
tag 'package-supports-alternative-init-but-no-init.d-script',$file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment