summaryrefslogtreecommitdiff
path: root/dh_installmanpages
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-12-21 14:37:17 +0100
committerNiels Thykier <niels@thykier.net>2015-12-21 14:37:17 +0100
commit61df6eb53302cadf11c1e0aa87b2ff0af207da2f (patch)
tree438fa97c0e86d28a245c89ebcd81bf2bece5bc2f /dh_installmanpages
parente1dd727be0ebf176548d622ba6059cbcff030e11 (diff)
downloaddebhelper-61df6eb53302cadf11c1e0aa87b2ff0af207da2f.tar.gz
dh_installmanpages: Fix call to getpackages
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installmanpages')
-rwxr-xr-xdh_installmanpages2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installmanpages b/dh_installmanpages
index ade16047..358f3247 100755
--- a/dh_installmanpages
+++ b/dh_installmanpages
@@ -136,7 +136,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# Find all filenames that look like man pages.
@manpages=();
- @allpackages=getpackages('');
+ @allpackages=getpackages() if not @allpackaes;
find(\&find_man,'.'); # populates @manpages
foreach my $page (@manpages) {