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

[lintian] 02/02: The ldconfig trigger also replaces ldconfig in postrm



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

nthykier pushed a commit to branch master
in repository lintian.

commit 50ef9dfe6d41530284236e209c9022c4a398b324
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Nov 7 11:36:15 2015 +0100

    The ldconfig trigger also replaces ldconfig in postrm
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/shared-libs.pm | 2 +-
 debian/changelog      | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/checks/shared-libs.pm b/checks/shared-libs.pm
index f917cd1..49f106e 100644
--- a/checks/shared-libs.pm
+++ b/checks/shared-libs.pm
@@ -697,7 +697,7 @@ sub run {
                   unless $must_call_ldconfig;
             } else {
                 tag 'postrm-should-call-ldconfig', $must_call_ldconfig
-                  if $must_call_ldconfig;
+                  if $must_call_ldconfig and not $we_trigger_ldconfig;
             }
 
             # Decide if we do it safely
diff --git a/debian/changelog b/debian/changelog
index 850e4c5..3ea2ac4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,10 @@ lintian (2.5.39) UNRELEASED; urgency=medium
       (Closes: #792365).
   * checks/files.pm:
     + [BR] Whitelist pbuilder for dir-or-file-in-build-tree.
+  * checks/shared-libs.pm:
+    + [ADB, NT] Fix false-positive instance of the tag
+      postrm-should-call-ldconfig when the package is using the
+      ldconfig trigger.  (Closes: #804256)
   * checks/source-copyright.desc:
     + [JW] Use HTTPS for www.debian.org URLs.
 

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


Reply to: