[Piuparts-commits] [piuparts] 05/05: strip arch qualification for resolving /usr/share/doc/$pkg

Holger Levsen holger at layer-acht.org
Mon Nov 20 10:25:39 UTC 2017


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

holger pushed a commit to branch develop
in repository piuparts.

commit 51e9ac3d7f0aea4ec90a8ab8d552c60c3ef55929
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Nov 20 09:45:45 2017 +0100

    strip arch qualification for resolving /usr/share/doc/$pkg
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 custom-scripts/scripts/pre_remove_50_find_missing_copyright | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/custom-scripts/scripts/pre_remove_50_find_missing_copyright b/custom-scripts/scripts/pre_remove_50_find_missing_copyright
index 94172ac..6e5da1b 100755
--- a/custom-scripts/scripts/pre_remove_50_find_missing_copyright
+++ b/custom-scripts/scripts/pre_remove_50_find_missing_copyright
@@ -32,7 +32,7 @@ do
 	# skip check if the package is not installed
 	is_installed "$pkg" || continue
 
-	docdir="/usr/share/doc/$pkg"
+	docdir="/usr/share/doc/${pkg%:*}"
 	copyright="$docdir/copyright"
 	if [ ! -f "$copyright" ]
 	then

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



More information about the Piuparts-commits mailing list