[Pkg-amule-commits] [amule] 01/02: remove absolute path from dpkg-divert calls; thanks to Guillem Jover for the report and patch; Closes: #769847
Sandro Tosi
morph at moszumanska.debian.org
Sun Nov 23 14:28:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository amule.
commit c82d03ec97c5642e3c1b946e4c85c7e6e3f2cfe4
Author: Sandro Tosi <morph at debian.org>
Date: Sun Nov 23 13:54:40 2014 +0000
remove absolute path from dpkg-divert calls; thanks to Guillem Jover for the report and patch; Closes: #769847
---
debian/amule-utils.preinst | 2 +-
debian/amule.preinst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/amule-utils.preinst b/debian/amule-utils.preinst
index e98ac37..b0496fd 100644
--- a/debian/amule-utils.preinst
+++ b/debian/amule-utils.preinst
@@ -2,7 +2,7 @@
set -e
-DIVERSIONS=`env LC_ALL=C /usr/sbin/dpkg-divert --list | grep -E 'by amule(-utils)?$'` || true
+DIVERSIONS=`env LC_ALL=C dpkg-divert --list | grep -E 'by amule(-utils)?$'` || true
if [ -n "$DIVERSIONS" ]; then
echo "$DIVERSIONS" | while read diversion of FILE to DIVERTED by PACKAGE; do
diff --git a/debian/amule.preinst b/debian/amule.preinst
index e98ac37..b0496fd 100644
--- a/debian/amule.preinst
+++ b/debian/amule.preinst
@@ -2,7 +2,7 @@
set -e
-DIVERSIONS=`env LC_ALL=C /usr/sbin/dpkg-divert --list | grep -E 'by amule(-utils)?$'` || true
+DIVERSIONS=`env LC_ALL=C dpkg-divert --list | grep -E 'by amule(-utils)?$'` || true
if [ -n "$DIVERSIONS" ]; then
echo "$DIVERSIONS" | while read diversion of FILE to DIVERTED by PACKAGE; do
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-amule/amule.git
More information about the Pkg-amule-commits
mailing list