[debsums] 160/184: Actually don't use a path at all

Axel Beckert abe at deuxchevaux.org
Mon Mar 2 21:21:29 UTC 2015


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

abe pushed a commit to branch master
in repository debsums.

commit 5d19f684b03029ed0eea271a2cb687c17800d61a
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Jul 30 00:21:56 2013 +0200

    Actually don't use a path at all
    
    as suggested by Raphael Hertzog
---
 debian/changelog | 2 +-
 debsums          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1270d5c..d99e88e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 debsums (2.0.53) UNRELEASED; urgency=low
 
-  * Fix outdated path to dpkg-divert (Closes: #709009)
+  * Use dpkg-divert without path (Closes: #709009)
 
  -- Axel Beckert <abe at debian.org>  Tue, 30 Jul 2013 00:13:05 +0200
 
diff --git a/debsums b/debsums
index 23a782c..9319f27 100755
--- a/debsums
+++ b/debsums
@@ -271,7 +271,7 @@ my %replaced;
 }
 
 my %diversion;
-for (`LC_ALL=C /usr/bin/dpkg-divert --list --admindir $DPKG`)
+for (`LC_ALL=C dpkg-divert --list --admindir $DPKG`)
 {
     my ($by) = /^(local) diversion/ ? $1 : / by (\S+)$/;
     $diversion{$1} = [$2, $by]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git



More information about the Pkg-perl-cvs-commits mailing list