From 4c063c99c3c2967491a6e465d0abc9e0762197b4 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 28 Jun 2017 13:47:06 +0000 Subject: dh_installman: Fix regression in compat 5 Signed-off-by: Niels Thykier --- debian/changelog | 2 ++ dh_installman | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index eb2d22a1..849ecafe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ debhelper (10.6) UNRELEASED; urgency=medium Note that dh_installdocs is not a complete noop in this case as it still ensures the package has a copyright file (or a symlinked doc directory). (Closes: #865869) + * dh_installman: Fix regression in compat 5 that could make it + ignore one manpage per invocation. -- Niels Thykier Tue, 27 Jun 2017 17:29:32 +0000 diff --git a/dh_installman b/dh_installman index 17c7633c..f1ad517f 100755 --- a/dh_installman +++ b/dh_installman @@ -208,7 +208,7 @@ on_items_in_parallel(\@all_packages, sub { my $instpage = "$destdir$instname.$section"; next if -l $instpage; - next if compat(5) && -e _; + next if -e _ && compat(5); install_dir($destdir); if ($gz) { -- cgit v1.2.3