[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 03/03: c/systemd: Override a perltidy "fix"



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit b80672b51060daf20212bd9df4bdb3aeffe22f80
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Sep 11 13:26:41 2016 +0000

    c/systemd: Override a perltidy "fix"
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/systemd.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/checks/systemd.pm b/checks/systemd.pm
index 4daea98..a2c1d27 100644
--- a/checks/systemd.pm
+++ b/checks/systemd.pm
@@ -201,12 +201,15 @@ sub check_systemd_service_file {
     if (not $file->is_symlink or $file->link ne '/dev/null') {
         tag 'systemd-service-file-missing-documentation-key', $file,
           unless extract_service_file_values($file, 'Unit', 'Documentation',1);
+        #<<< no perltidy - These are better formatted one per line
         tag 'systemd-service-file-missing-install-key', $file,
           unless extract_service_file_values($file, 'Install', 'WantedBy',1)
           or extract_service_file_values($file, 'Install', 'RequiredBy',1)
           or extract_service_file_values($file, 'Install', 'Also',1)
+
           or any { /^oneshot$/ } extract_service_file_values($file, 'Service', 'Type')
           or $file =~ m,@\.service$,;
+        #>>>
     }
 
     return 1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: